openclaw_agent_wait
Block until an agent finishes its current turn, with a configurable timeout to prevent indefinite waiting.
Instructions
Block until the agent finishes its current turn (or timeout). Wraps agent.wait. Long-running — uses the configured request timeout (default 30s).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "openclaw_agent_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | No | ||
| instance | No | Optional OpenClaw instance to route this call to (e.g. 'default', 'work'). Falls back to the active default instance, or the OPENCLAW_GATEWAY_URL/TOKEN env vars when set. List configured instances with openclaw_setup_list. | |
| sessionId | No | ||
| timeoutMs | No |