wait
Poll a chat until the in-progress reply finishes generating, then retrieve it in your requested format. If still generating, repeat the poll; timeout up to 900 seconds.
Instructions
Wait for the newest reply in a chat to finish (poll). timeout_sec<=900; if it returns status=generating call wait again. Returns the reply in reply_format.
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": {
"chat": "<chat>"
},
"name": "wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| timeout_sec | No | ||
| reply_format | No | largest_markdown |