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).
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 |