Get a deployed Wiro agent
get_my_agentRead a deployed agent's full state—status, plan, prices, credits, skills, channels, models, tasks, instructions, and credential status—and optionally wait while it starts or stops.
Instructions
Read the full state of one deployed agent: status (number and label), plan, its Starter and Pro prices, credit balance, time zone, skills, chat channels, model settings with the credit rates of the models it can switch to, scheduled tasks and custom instructions (a long text is shortened; entry adds one entry's whole text), and the state of each credential. Credential values are never returned, only whether each one is filled, connected or missing. With wait_seconds it keeps reading until the agent is no longer stopping, queued or starting; when the wait runs out, follow the returned nextAction instead of repeating the action that started it. Statuses: 0 stopped, 1 stopping, 2 queued, 3 starting, 4 running, 5 error, 6 setup required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry | No | The key of one custom instruction or scheduled task, such as cs-brand-voice, or its bare name such as brand-voice. Adds that entry's whole text, which the list shortens when it is long. Read it before changing the entry with manage_agent_custom_skill. | |
| agent_guid | Yes | The deployed agent's guid, from list_my_agents or deploy_agent. | |
| wait_seconds | No | Keep reading for up to this many seconds while the agent is stopping, queued or starting (0 to 600, default 0 for an immediate read). 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 | ||
| entry | No | ||
| advice | Yes | ||
| settled | Yes | ||
| nextAction | No | ||
| waitedSeconds | No |