get_task_result
Poll a CADPilot execute_code_async task by task ID to retrieve its status, captured output, or traceback.
Instructions
Poll the status and captured output of one execute_code_async task.
Args:
task_id: Task ID returned by execute_code_async.
Returns: JSON {status: running | done | error, output, traceback}.
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": {
"task_id": "<task_id>"
},
"name": "get_task_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |