Debug capture at
debug_capture_atStop a deployment at a specific source line to capture stack, scopes, and variables in one call. Use when logs and diagnostics aren't enough.
Instructions
Last-resort code debug for a deployment: stop at a source line and return stack/scopes/variables in one call. Use logs and diagnose tools first.
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": {
"deployment_id": "<deployment_id>",
"source": "<source>",
"line": "<line>"
},
"name": "debug_capture_at"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| source | Yes | ||
| thread_id | No | ||
| timeout_ms | No | ||
| deployment_id | Yes | Local managed language runtime deployment to debug. The agent resolves or creates the internal lease. | |
| max_variables | No | ||
| approval_token | No | ||
| variable_names | No | ||
| approval_wait_seconds | No |