Verify a connector
verify_codeType-check and test TypeScript or Python connector files in an isolated Nebius sandbox, retry repairs, and return the final test report with updated files.
Instructions
Type-check and test an existing connector (files you provide as {path, content}) in an isolated Nebius sandbox, with up to N repair attempts from the strong model. For TypeScript (default) the gate is tsc + vitest; for Python (lang: "py") it is compileall + pytest. Requires live keys (NEBIUS_API_KEY, NEBIUS_AI_PROJECT); returns the final test report and the (possibly repaired) files.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"files": "<files>"
},
"name": "verify_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Target language the files are in. "ts" (default) or "py". If omitted, auto-detected from file extensions. | |
| files | Yes | Connector files. For TS, include src/connector.ts + a *.test.ts; for Python, include connector.py + test_connector.py. | |
| maxAttempts | No | Repair attempts, default from PATCHBAY_MAX_ATTEMPTS |