{"uid":"cap_k15KqwSlHZdHGWkqO13dC","slug":"forwardlane-function-catalog-409b091b","name":"ForwardLane Function Catalog","description":"Functions extracted from source with name, repo, file path, arguments, decorators, docstring, line count, and complexity.","url":"https://agents.forwardlane.com/zcj/9do1aq1ienxs/api/functions?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"name":{"type":"string"},"repo":{"type":"string"},"limit":{"type":"integer","default":100,"maximum":500,"minimum":1},"min_complexity":{"type":"integer"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LdtIEz4zy0Uc4C-dgNr3Z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"List and filter functions extracted from source code repositories, returning metadata including name, repo, file path, arguments, decorators, docstring, line count, and complexity.","exampleAgentPrompt":"Show me all the functions in the 'my-api-service' repository that have a complexity of at least 5, up to 50 results, so I can see which ones might need refactoring.","exampleUseCases":[{"title":"Identify high-complexity functions for refactoring","prompt":"List all functions in the 'payment-service' repo with a minimum complexity of 10 — I want to find the hardest-to-maintain code."},{"title":"Browse a repo's function signatures","prompt":"Show me every function in the 'data-pipeline' repository, up to 200 results, including their arguments and docstrings so I can understand what the codebase does."},{"title":"Look up a specific function's metadata","prompt":"Find the function called 'process_transaction' in any repository and give me its file path, arguments, decorators, and line count."}],"resultDescription":"A paginated list of function objects, each containing the function name, repository, file path, argument list, decorators, docstring, line count, and a complexity score. Results can be filtered by function name, repository, minimum complexity, and capped at a configurable limit (1–500, default 100).","failureModes":["No functions found matching the given filters — returns empty list","Invalid limit value outside 1–500 range — validation error","Unknown repository name — returns empty results or 404","min_complexity filter too high — returns no results if no functions meet threshold","Missing required 'input' wrapper object — schema validation error"],"whenToPreferThis":"Use this endpoint when you need to enumerate, browse, or filter the raw function catalog of one or more repositories with full metadata (args, decorators, docstring, line count, complexity). Prefer this over the search or embedding endpoints when you want a structured list rather than ranked relevance results, or when you need to apply complexity thresholds programmatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T21:39:27.497Z","isFirstParty":false,"canonicalSlug":"forwardlane-function-catalog-409b091b"}