debug_propose_fix
Diagnose a runtime error, inspect the offending script line, and generate a verified fix proposal. Submit the script path, error line, and error message to get an actionable solution.
Instructions
[HIGH_LEVEL] Diagnoses a runtime error, reads the relevant script source around the offending line, and generates a verified fix proposal.
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": {
"scriptPath": "<scriptPath>",
"errorLine": "<errorLine>",
"errorMessage": "<errorMessage>"
},
"name": "debug_propose_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errorLine | Yes | Line number where the error occurred. | |
| scriptPath | Yes | Full DataModel path to the script with errors. | |
| errorMessage | Yes | The error message from Studio output. |