Start, stop or restart a Wiro agent
control_agentStart, stop, or restart a deployed AI agent, optionally wait for the background change to finish, and get next-step guidance when a start is refused.
Instructions
Start, stop or restart a deployed agent. Starting needs an active plan or credits left and charges nothing by itself. Stopping does not pause the plan: a wallet plan still renews every 30 days and starts the agent again, so cancel the plan with manage_agent_billing to stop paying. A restart reloads the agent with its current settings. The change finishes in the background: pass wait_seconds, or follow the returned nextAction, to see the result. When a start is refused, the result says what to do next (subscribe, renew, buy credits or finish setup). On a team agent this needs a team admin or the person who deployed it; other team members can read the agent with get_my_agent and message it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | start queues a stopped or failed agent, stop shuts it down, restart reloads a running agent. | |
| agent_guid | Yes | The deployed agent's guid, from list_my_agents or deploy_agent. | |
| wait_seconds | No | Wait up to this many seconds for the agent to finish starting or stopping (0 to 600, default 0). 45 or less is safe for clients with a 60 second tool timeout; follow nextAction to keep waiting. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | ||
| action | Yes | ||
| status | Yes | ||
| message | Yes | ||
| outcome | Yes | ||
| settled | Yes | ||
| nextAction | No | ||
| statusLabel | Yes | ||
| waitedSeconds | No | ||
| previousStatus | Yes | ||
| previousStatusLabel | Yes |