prompt_agent
Submit a prompt to an agent pane by typing and submitting text; optionally wait for the agent to settle idle, done, or blocked. Specify target pane or agent name to direct the input.
Instructions
Submit a prompt to an agent pane (types the text and submits it).
target: pane id like `w17:p1` or an agent name; see list_agents.
wait: also wait for the agent to settle (idle, done, or blocked) afterwards.
timeout_ms: only used with wait=True; the call fails if nothing matches in time.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"text": "<text>"
},
"name": "prompt_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| wait | No | ||
| target | Yes | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||