Send follow-up to Claude Code cloud session
claude_send_followupQueue a follow-up message into an existing Claude Code cloud session so the agent continues work; replies appear only at the session URL, which you check for the pushed branch and PR.
Instructions
Queue a follow-up message into an existing Claude Code cloud session via claude --cloud <session> -p <message>. Replies are only visible at the session_url; claude_get_session reports the pushed branch and pull request. If the session can't push to GitHub, use this to ask for git format-patch origin/<base>..HEAD --stdout (or a full git diff including new files), then apply it locally with git am / git apply --3way and push it yourself.
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": {
"session": "<session>",
"message": "<message>"
},
"name": "claude_send_followup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Message to queue into the session. | |
| session | Yes | Target cloud session: a session id (session_... / cse_...) or a https://claude.ai/code/... URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cli | Yes | CLI output with terminal control sequences removed. | |
| args | Yes | ||
| sent | Yes | True when the CLI confirmed the message was sent. | |
| parsed | Yes | True when both session_id and session_url were parsed from CLI output. | |
| session | Yes | ||
| session_id | Yes | ||
| session_url | Yes |