{"uid":"cap_mDzRoc5oeURsznJDRYUM9","slug":"forwardlane-function-listing-api-3d7a5047","name":"ForwardLane Function Listing API","description":"","url":"https://agents.forwardlane.com/api/functions?utm_source=zero.xyz","method":"POST","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_OdCzcKvP7SZo_3tK9yeeE","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":"Lists and filters functions extracted from source code repositories, including metadata like name, file path, arguments, decorators, docstring, line count, and complexity.","exampleAgentPrompt":"Show me all functions from the 'payments-service' repo that have a complexity score of at least 10, up to 50 results.","exampleUseCases":[{"title":"High-complexity function audit","prompt":"List all functions in the 'auth-backend' repo with a minimum complexity of 15 — I want to find the gnarliest functions that need refactoring."},{"title":"Function signature exploration","prompt":"Pull up to 200 functions from the 'data-pipeline' repository so I can review their names, arguments, and docstrings."},{"title":"Find specific function metadata","prompt":"Find the function named 'process_payment' across all repositories and show me its file path, line count, decorators, and complexity."}],"resultDescription":"Returns a list of function records extracted from source code, each including the function name, repository, file path, argument list, decorators, docstring, line count, and complexity score. Results are filterable by repository name, function name, and minimum complexity, with a configurable limit up to 500.","failureModes":["No functions found matching the given name or repo filter — returns empty list","Invalid limit value (outside 1–500 range) — schema validation error","Invalid min_complexity value — rejected by schema","Repository does not exist in the index — returns empty results","Service unavailable or payment not processed — HTTP 402 or 5xx error"],"whenToPreferThis":"Use this endpoint when you need to programmatically enumerate, inspect, or audit functions from source code repositories indexed by ForwardLane — especially when filtering by complexity or searching for specific function names. Prefer this over general code search when you need structured metadata (arguments, decorators, docstrings, line counts) rather than raw source. Pair with the List Classes or List Security Patterns endpoints for broader codebase analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:31:26.194Z","isFirstParty":false,"canonicalSlug":"forwardlane-function-listing-api-3d7a5047"}