code_workspace_wait_for_run
Wait for a coding run in a workspace to complete and get the final status. Optionally specify a run ID or use the current active run.
Instructions
Wait for a coding run to finish and return its latest status.
If run_id is omitted, the tool waits for the current active run.
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": {
"workspace_id": "<workspace_id>"
},
"name": "code_workspace_wait_for_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | ||
| workspace_id | Yes | ||
| timeout_seconds | No | ||
| poll_interval_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |