claude_code_reply
Send follow-up prompts to an existing Claude Code session to continue tasks without starting a new session.
Instructions
Send a follow-up to an existing session. Reuse the same sessionId instead of starting a new claude_code session when you want to continue. Returns immediately; poll with claude_code_check. Use diskResumeConfig only when the in-memory session is missing and disk resume is enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| effort | No | Effort string: 'low' | 'medium' | 'high' | 'max'. Default: SDK | |
| prompt | Yes | Follow-up prompt for the existing session. | |
| thinking | No | Thinking config object, not a string. Use {type:'adaptive'} | {type:'enabled', budgetTokens?:N} | {type:'disabled'}. Default: SDK | |
| sessionId | Yes | Session ID from claude_code or an earlier claude_code_reply. Prefer this over starting a fresh claude_code session. Reply works only for persistent sessions, or with diskResumeConfig when disk resume fallback is enabled. | |
| forkSession | No | Default: false | |
| diskResumeConfig | No | Default: none. Use only when the in-memory session is missing and the server allows disk resume. | |
| sessionInitTimeoutMs | No | Default: 10000. Applies when forkSession=true. | |
| permissionRequestTimeoutMs | No | Server permission wait timeout in ms; not forwarded to SDK Options. Default: 60000, clamped to 300000 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| status | Yes | ||
| sessionId | Yes | ||
| resumeToken | No | ||
| pollInterval | No | ||
| compatWarnings | No |