session_send
Follow up on an existing Claude CLI session by resuming it, choosing reject, queue, or fork when busy, and receive a new run ID plus wait command.
Instructions
Follow up on an existing session (claude --resume). If the session is busy: reject (default), queue, or fork (new session id). Returns a new run_id and wait_cmd.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | Yes | Your bot name (attribution). | |
| cwd | No | Only to adopt a session ccsm did not start: its cwd. | |
| fork | No | ||
| mode | No | ||
| model | No | ||
| effort | No | ||
| notify | No | auto | |
| prompt | Yes | ||
| run_id | No | ||
| if_busy | No | reject | |
| chat_hint | No | Short label for this chat (≤80 chars). | |
| cross_bot | No | ||
| max_turns | No | ||
| session_id | No | Resume by Claude session id instead of run_id. | |
| timeout_min | No | ||
| allowed_tools | No | ||
| max_budget_usd | Yes | Required USD cap for this run (clamped to policy). | |
| continue_interrupted | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||