{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"1000","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":null,"catalogType":"api","categories":["developer","tools","web-tools"],"dataPlatform":"Gateway","dataPlatformLogoUrl":"","dataPlatformTranslations":{},"dataProduct":"","description":"Get PatchPilot Code Repair Gateway data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Codesphereug, pass parameters such as id, jsonrpc, method, and retrieve structured data including identifier, name, returned annotations field, description, and returned input schema field to search interfaces and source review, and integration reference.","descriptionTranslations":{"ar":"استخدم PatchPilot Code Repair Gateway API عبر OpenAny، مع مراجعة المدخلات المدعومة لهذا التنفيذ وبصيغة POST الموثقة، لدعم واجهات البحث ومراجعة المصادر. تتضمن صفحة التفاصيل قالب الطلب والمدخلات المدعومة ومرجع الاستجابة والسعر الحالي للتنفيذ المحدد؛ احتفظ بالمعرفات والحقول المتاحة معا عند مراجعة النتائج.","ja":"OpenAny から PatchPilot Code Repair Gateway API を利用し、対応する入力を確認し、指定された POST リクエスト形式で、検索画面と出典の確認に利用できます。詳細ページにはリクエスト例、対応入力、応答参照、選択した実装の現在の料金があり、結果を確認する際は識別子と利用可能なフィールドを関連付けて保持できます。","zh":"通过 OpenAny 使用 PatchPilot Code Repair Gateway API，请核对所选实现支持的输入，并采用已说明的 POST 请求格式，用于搜索界面和来源核对。详情页提供请求模板、支持的输入、响应参考及所选实现的当前价格；核对结果时，将返回标识与可用字段关联保留。"},"effectContentHtml":"","executionMode":"sync","id":"6d5fc4a5-2f7a-48fe-bb9f-457c8c471179","includedContentHtml":"","inputs":[],"logoUrl":"","method":"POST","name":"PatchPilot Code Repair Gateway API","nameTranslations":{"ar":"PatchPilot Code Repair Gateway API","ja":"PatchPilot Code Repair Gateway API","zh":"PatchPilot Code Repair Gateway API"},"overviewHtml":"\u003ch2\u003ePatchPilot Code Repair Gateway API\u003c/h2\u003e\n\u003cp\u003ePatchPilot Code Repair Gateway API uses the documented POST route for this operation. Review the optional inputs supported by the selected implementation. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eNo business input parameters.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003ecodesphereug · PatchPilot Code Repair Gateway\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eFollow the selected implementation pricing, billing unit, quantity and charge rules\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eSearch interfaces and source review\u003c/strong\u003e: Keep returned sources and query context together.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eIntegration reference\u003c/strong\u003e: Use the selected request format and keep source identifiers with the returned result.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eDocumented Response Fields\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eid\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eIdentifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresult.tools[].name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eName\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresult.tools[].annotations\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned annotations field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresult.tools[].description\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eDescription\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresult.tools[].inputSchema\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned input schema field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ejsonrpc\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned jsonrpc field\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the JSON body and supported fields shown in the request template.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl \\\n  \u0026#39;https://api.openany.si/v1/agent-apis/codesphereug/patchpilot/mcp\u0026#39; \\\n  -X POST \\\n  -H \u0026#34;Authorization: Bearer $OPENANY_API_KEY\u0026#34; \\\n  -H \u0026#39;Content-Type: application/json\u0026#39; \\\n  --data-raw \u0026#39;{\n  \u0026#34;id\u0026#34;: 2,\n  \u0026#34;jsonrpc\u0026#34;: \u0026#34;2.0\u0026#34;,\n  \u0026#34;method\u0026#34;: \u0026#34;tools/list\u0026#34;\n}\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/6d5fc4a5-2f7a-48fe-bb9f-457c8c471179\"\u003ePublished PatchPilot Code Repair Gateway API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eDoes this implementation require business input parameters?\u003c/h3\u003e\n\u003cp\u003eNo business input is marked as required by the selected schema. Review any optional filters and the documented request format before calling.\u003c/p\u003e\n\u003ch3\u003eWhich request format should I follow?\u003c/h3\u003e\n\u003cp\u003eUse POST on the documented OpenAny route with the selected implementation request content type. Do not change the method or move inputs to a different location.\u003c/p\u003e\n\u003ch3\u003eHow should I map the returned fields?\u003c/h3\u003e\n\u003cp\u003eUse the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.\u003c/p\u003e\n\u003ch3\u003eCan I reuse request parameters from another endpoint?\u003c/h3\u003e\n\u003cp\u003eUse the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.\u003c/p\u003e\n\u003ch3\u003eWhich API key should I use?\u003c/h3\u003e\n\u003cp\u003eUse your OpenAny API key as Bearer authentication on the documented OpenAny route.\u003c/p\u003e\n\u003ch3\u003eWhere can I check the current request price?\u003c/h3\u003e\n\u003cp\u003eCheck the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/gateway/truthgate-hallucination-auditor-gateway\"\u003eTruthGate Hallucination Auditor Gateway\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/gateway/cortex-bi-temporal-memory-gateway\"\u003eCortex Bi-Temporal Memory Gateway\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/gateway/synapse-router-multi-model-gateway\"\u003eSynapse Router Multi-Model Gateway\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/gateway/patchpilot-code-repair-gateway","providerId":"codesphereug","publicPath":"/v1/agent-apis/codesphereug/patchpilot/mcp","requestContentType":"application/json","revision":6,"samples":[{"http_status":200,"name":"Recorded upstream MCP tools/list (HTTP 200)","request":{"body":{"id":2,"jsonrpc":"2.0","method":"tools/list"},"headers":{},"path":{},"query":{}},"response_body":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Parse and audit a multi-file unified git diff against 8 deterministic AST anti-reward-hacking \u0026 safety rules (RH001–RH008) and export canonical Nexus Aegis G5 leaf attestation.","inputSchema":{"properties":{"export_aegis":{"default":false,"description":"Whether to include canonical Nexus Aegis G5 attestation package in output.","type":"boolean"},"original_files":{"description":"Optional mapping of {rel_path: original_source_code}.","type":"object"},"unified_diff":{"description":"Multi-file unified diff string (e.g. git diff output).","type":"string"}},"required":["unified_diff"],"type":"object"},"name":"audit_unified_diff"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Rank suspect Python functions/methods from a traceback or pytest failure log using hybrid Stack-Trace + AST Call-Graph + BM25 token overlap, returning minimal line-numbered AST slices within a strict token budget.","inputSchema":{"properties":{"include_tests":{"default":false,"description":"Whether to include test_* functions in ranked candidates.","type":"boolean"},"sources":{"description":"Optional in-memory {rel_path: source_code} map instead of workspace_root.","type":"object"},"token_budget":{"default":1200,"description":"Maximum token budget across returned AST code slices.","type":"integer"},"top_k":{"default":5,"description":"Maximum number of suspect functions to return.","type":"integer"},"traceback_text":{"description":"Raw Python traceback or pytest failure output.","type":"string"}},"required":["traceback_text"],"type":"object"},"name":"localize_fault"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Evaluate a proposed patch (original vs patched files or unified diff) against 8 deterministic AST anti-reward-hacking \u0026 safety rules (RH001–RH008).","inputSchema":{"properties":{"allow_test_modifications":{"default":false,"description":"Whether edits to test files are allowed without triggering RH001-RH002.","type":"boolean"},"max_files_touched":{"default":5,"description":"Maximum number of files a candidate patch is permitted to modify.","type":"integer"},"max_lines_changed":{"default":250,"description":"Maximum added plus deleted lines allowed across the patch.","type":"integer"},"original_files":{"description":"Mapping of {rel_path: original_source_code}.","type":"object"},"patched_files":{"description":"Mapping of {rel_path: patched_source_code}.","type":"object"},"unified_diff":{"description":"Optional unified diff string applied onto original_files.","type":"string"}},"required":["original_files"],"type":"object"},"name":"verify_patch_integrity"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Query the AST symbol table and bidirectional call graph of a workspace by symbol name or (file_path, line_number).","inputSchema":{"properties":{"file_path":{"description":"Relative file path for line-based enclosing symbol lookup.","type":"string"},"line_number":{"description":"1-based line number for enclosing symbol lookup.","type":"integer"},"query_name":{"description":"Function, method, or class name to look up.","type":"string"},"sources":{"description":"Optional in-memory {rel_path: source_code} map.","type":"object"}},"required":[],"type":"object"},"name":"inspect_ast_symbols"}]}}}],"seoDescription":"Get PatchPilot Code Repair Gateway data via REST or MCP powered by Codesphereug. Pay per call, no subscription. Get identifier and name in JSON.","updatedAt":"2026-12-03T02:49:50.513Z","usageInstructionsHtml":""}}