agent_host_prompt
MCP tools › Window and UI driver
Send a prompt to a hosted agent: id, text (1 to 20000 characters, no control characters but line breaks and tabs), only while it is waiting_for_input or idle. Waits up to wait_seconds (default 0) until it stops working and answers with its state. 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.
| Capability | ui.agent_host_prompt |
|---|---|
| Area | Window and UI driver |
| Access | changes processes |
| Reaches | agents |
| Rights | agents |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
idrequired | string | The hosted agent's id from agent_host_start or agent_host_list. |
textrequired | string | The prompt (1 to 20000 characters). |
wait_seconds | integer | Seconds to wait until the agent stops working (default 0, at most 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.
ferris-idea call ~/my-project agent_host_prompt '{"id":"<string>","text":"<string>"}'Input schema as JSON
{ "properties": { "id": { "description": "The hosted agent's id from `agent_host_start` or `agent_host_list`.", "type": "string" }, "text": { "description": "The prompt (1 to 20000 characters).", "type": "string" }, "wait_seconds": { "description": "Seconds to wait until the agent stops working (default 0, at most 120).", "type": [ "integer", "null" ], "minimum": 0 } }, "required": [ "id", "text" ], "additionalProperties": false, "type": "object"}