get_task_result
Retrieve the status, captured output, and error traceback of a background CAD task using its task ID.
Instructions
Get the status and captured output of a background task started by execute_code_async.
Args:
task_id: The task ID returned by execute_code_async.
Returns:
A JSON object with status ("running" | "done" | "error"), output captured
via task_print(...), and the error traceback if the task failed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |