{"uid":"cap__1i3dgoqk3P6TfmwEZ8fK","slug":"forwardlane-functions-api-b8280f93","name":"ForwardLane Functions API","description":"Functions extracted from source with name, repo, file path, arguments, decorators, docstring, line count, and complexity.","url":"https://agents.forwardlane.com/zcj/ws6jeofdjhct/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_n0nOcBM3ScnRDGHGlpB01","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":"Can you pull all functions from the 'payments-service' repo on ForwardLane with a minimum complexity of 5, and show me their names, file paths, and docstrings?","exampleUseCases":[{"title":"Identify complex functions needing refactoring","prompt":"Show me all functions in the 'core-api' repo that have a complexity score of at least 10 — I want to find the gnarliest code to refactor first."},{"title":"Audit docstring coverage for a repo","prompt":"List up to 200 functions from the 'user-auth' repository on ForwardLane so I can check which ones are missing docstrings."},{"title":"Search for a specific function across repos","prompt":"Find all functions named 'process_payment' across our repositories — I need to see the arguments, decorators, and which files they live in."}],"resultDescription":"A paginated list of function records extracted from source code, each containing the function name, repository, file path, argument list, decorators, docstring text, line count, and a complexity score. Up to 500 results can be returned per call.","failureModes":["No functions match the specified filters (empty result set)","Invalid or non-existent repository name returns empty or error response","Limit parameter outside 1-500 range triggers validation error","min_complexity with no matching functions returns empty list","Payment failure or 402 response if USDC payment not properly handled"],"whenToPreferThis":"Use this endpoint when you need to programmatically explore or audit functions within source code repositories indexed by ForwardLane — especially when filtering by complexity or searching for specific function names. Prefer this over general code search tools when you need structured metadata (arguments, decorators, docstrings, line counts) rather than raw source text, and when working within the ForwardLane ecosystem alongside sibling endpoints like List Classes or List Repos.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:31:23.341Z","isFirstParty":false,"canonicalSlug":"forwardlane-functions-api-b8280f93"}