send_message
Sends a follow-up or steering message to a running coding agent, and can switch its model or thinking level. Delivers input as if typed in the agent's tab.
Instructions
Send a message to an agent as if typed in its tab: a follow-up when idle, a steer while omp is working.
model / thinking: switch the agent to another model or reasoning level (same values as start_agent, including auto tiers). The session is restarted in a new tab with its full history and this message; a turn still running is interrupted, so prefer switching while the agent is idle. If the agent's process has exited or its tab was closed, the session is resumed in a new tab with this message. Refused while the agent may be showing a dialog (still starting, or Claude Code mid-turn): typing there could answer the dialog. Use capture_screen and press_keys, or wait for the turn to end.
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": {
"name": "<name>",
"message": "<message>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| model | No | ||
| message | Yes | ||
| thinking | No |