{"uid":"cap_OG8t9oUPcNls5YXNMbFzO","slug":"taskfleet-code-review-0252aeda","name":"TaskFleet Code Review","description":"Review code or a diff (up to 60k chars). Default output: guaranteed-valid JSON findings [{line, severity, issue, fix}]. Input: { code? | diff?, language?, focus?, format? ('json'|'text') }.","url":"https://taskfleet.net/code-review?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","bodyType","body"],"properties":{"body":{"properties":{"code":{"type":"string","description":"Code to review (max 60k chars; or provide diff)"},"diff":{"type":"string","description":"Unified diff to review (max 60k chars)"},"focus":{"type":"string","description":"e.g. 'security'"},"format":{"type":"string","description":"json (default) | text"},"language":{"type":"string","description":"Language hint"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_7kNWwSJpyAbd3OoLK5pDn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reviews code or a unified diff (up to 60k chars) and returns structured findings with line numbers, severity, issue descriptions, and fix suggestions.","exampleAgentPrompt":"Can you do a security-focused code review of this Python function I just wrote and give me back the findings as JSON with line numbers, severity, and suggested fixes?","exampleUseCases":[{"title":"Pre-merge diff security audit","prompt":"I've got a unified diff from my pull request — can you review it for security vulnerabilities and give me back the findings as JSON with line numbers and fix suggestions?"},{"title":"Code quality check before deployment","prompt":"Review this JavaScript file for bugs and code quality issues — I need structured JSON output with each finding's line number, severity, and how to fix it."},{"title":"Language-specific performance review","prompt":"Can you analyze this Go code for performance problems? Focus on performance issues and return the results as JSON findings with severity levels."}],"resultDescription":"A guaranteed-valid JSON array of findings, each containing: line number, severity level, description of the issue, and a suggested fix. Optionally returns plain text if format is set to 'text'.","failureModes":["Input exceeds 60k character limit — request rejected","Neither 'code' nor 'diff' field provided — missing required body content","Invalid JSON body structure — 400 bad request","Language hint unrecognized — review proceeds without language-specific rules","Payment not attached or insufficient — x402 payment required error","Timeout on very large or complex inputs near the character limit"],"whenToPreferThis":"Choose this endpoint when you need machine-readable, structured code review findings (JSON with line/severity/fix) that can be consumed programmatically by a CI pipeline or agent workflow. Prefer it over generic LLM prompting when you want guaranteed-valid JSON output format, line-level specificity, and per-finding severity classification. Especially useful for reviewing unified diffs from pull requests or performing focused audits (e.g. security-only).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:33:55.559Z","isFirstParty":false,"canonicalSlug":"taskfleet-code-review-0252aeda"}