{"uid":"cap_xxYaRwqZm2W2eR8krJ0qc","slug":"agents-forwardlane-com-list-functions-606b178a","name":"List Functions","description":"List functions extracted from source code.","url":"https://agents.forwardlane.com/api/functions?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Filter by function name (substring)"},"repo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repo","description":"Filter by repository name"},"limit":{"type":"integer","title":"Limit","default":100,"maximum":1000,"minimum":1},"min_complexity":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Min Complexity","description":"Minimum cyclomatic complexity"}}},"responseSchema":{"type":"object","title":"Response List Functions Api Functions Get","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USD","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"1.00","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"2.0000","medianCents":"2.0000","p90Cents":"2.0000","minCents":"2.0000","maxCents":"2.0000","p95Cents":"2.0000","sampleCount":4,"varies":false,"failureChargeRate":null},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.02","per":"call","confidence":"exact"},{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0-nmozldGelmDX3ozqCPT","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_UUl7DbjoLVDPwOvHnFbwZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agents.forwardlane.com","brandSlug":"agents-forwardlane-com-x402","brandBaseUrl":"https://agents.forwardlane.com","brandDocsUrl":null,"whatItDoes":"List and filter functions extracted from source code in financial-services repositories, with optional filtering by name, repository, and cyclomatic complexity.","exampleAgentPrompt":"Show me all functions from the 'risk-engine' repository that have a cyclomatic complexity of at least 10 — give me up to 200 results.","exampleUseCases":[{"title":"High-complexity function audit","prompt":"List all functions in the 'portfolio-analytics' repo with a cyclomatic complexity of 15 or higher — I want to identify the riskiest code for our technical due diligence review."},{"title":"Function search by name pattern","prompt":"Find all functions whose names contain 'calculate' across any repository in the ForwardLane platform, up to 50 results."},{"title":"Codebase function inventory","prompt":"Give me a full list of up to 500 functions extracted from the 'trade-settlement' repository so I can get an overview of what's in it."}],"resultDescription":"Returns a JSON object containing a list of function records extracted from source code in the FL Repos Intelligence platform. Each record includes function name, repository association, and cyclomatic complexity metrics. Results are filtered by the supplied criteria and capped at the specified limit (default 100, max 1000).","failureModes":["No functions match the filter criteria — returns empty list","Invalid or unrecognized repository name — may return empty results or error","limit value below 1 or above 1000 — validation error","min_complexity below 1 — validation error","Payment failure — 402 response if payment not provided or insufficient","Upstream platform unavailable — 5xx error"],"whenToPreferThis":"Use this endpoint when you need to enumerate, search, or filter functions extracted from private financial-services source code in the ForwardLane FL Repos Intelligence platform. Prefer it over class or contributor endpoints when your focus is on function-level granularity, cyclomatic complexity filtering, or function name searching. It is the right choice for technical due diligence workflows that require understanding code complexity at the function level.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":4,"lastUsedAt":"2026-10-07T23:04:02.986Z","lastSuccessfullyRanAt":"2026-10-07T23:04:02.986Z","lastHealthCheckAt":"2026-10-13T08:35:09.042Z","isFirstParty":false,"canonicalSlug":"agents-forwardlane-com-list-functions-606b178a"}