poll_submission
Poll a submission until it reaches a terminal state or times out, returning the final record or a still-running status.
Instructions
Poll a submission until it reaches a terminal state (finished/failed/cancelled) or timeout_seconds elapses. Returns the final submission record, or {status: 'still_running'} on timeout — the agent can choose to poll again.
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": {
"submission_id": "<submission_id>"
},
"name": "poll_submission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| submission_id | Yes | ||
| timeout_seconds | No | ||
| interval_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||