session_respond
Answer Claude Code's in-session questions by selecting an option number or using navigation keys, allowing you to steer interactive sessions.
Instructions
Answer an on-screen prompt when state is awaiting_input.
choice is an option number ("1", "2", ...) or a navigation key: up,
down, enter, escape. Read the question first via session_status.
Launch dialogs (workspace trust, bypass-permissions, effort) are handled automatically — this is only for questions Claude itself asks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| choice | Yes |