agent_send
Send a message to an existing session and wait for its reply by default, routing to background turns or tmux keystrokes as needed.
Instructions
Send a message to an existing session and, unless wait:false, wait for it to finish answering. Wraps the right mechanism per harness: a resumed background turn for Claude background sessions, keystrokes for a tmux session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait for the reply (default true for tmux sessions) | |
| message | Yes | ||
| session | Yes | Session id or name | |
| timeout_ms | No | Max wait (default 600000) |