Skip to content

agent_wait

MCP tools › Window and UI driver

Wait for a hosted agent you conduct (SPEC-0349 behaviour 10): id, states (default all but working; working, waiting_for_approval, waiting_for_input, idle, done, failed, unknown), timeout_seconds (default 30, 1 to 120). Returns when the agent reaches one of them or time is up: reached, waited_seconds, state and detail (untrusted, secrets masked); an ended agent at once. Needs the agents right; conductor only. Logged.

Its results carry text from agents: the client is told to treat that as data, never as instructions.

Capabilityui.agent_wait
AreaWindow and UI driver
Accessreads only
Reachesagents
Rightsagents
Dry runnone

Arguments

ArgumentTypeDescription
idrequiredstringThe hosted agent's id; you must be its conductor.
statesarray of stringStates to wait for (default: every state but working).
timeout_secondsintegerSeconds to wait at most (default 30, 1 to 120).minimum 0

Call it from a shell

ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.

Terminal window
ferris-idea call ~/my-project agent_wait '{"id":"<string>"}'
Input schema as JSON
{
"properties": {
"id": {
"description": "The hosted agent's id; you must be its conductor.",
"type": "string"
},
"states": {
"description": "States to wait for (default: every state but `working`).",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"timeout_seconds": {
"description": "Seconds to wait at most (default 30, 1 to 120).",
"type": [
"integer",
"null"
],
"minimum": 0
}
},
"required": [
"id"
],
"additionalProperties": false,
"type": "object"
}