Wait for a background run
wait_for_runWait up to 20 seconds and return the current run record. If the run is still active, wait again with the same ID. Use compact output for cited excerpts without the full page text.
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": {
"id": "<id>"
},
"name": "wait_for_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID returned by Tern. | |
| output | No | Return a bounded preview with excerpts and source URLs. Omit for the full output. | |
| timeoutSeconds | No | Maximum seconds to wait before returning the current status. |