get_user_decision
Request user decisions remotely during AFK mode by sending prompts for confirmations, choices, text input, or code diff approvals to mobile devices.
Instructions
Sends a decision request to the mobile client and blocks until the user responds or timeout expires. Only call when AFK mode is active. Use type 'confirm' for yes/no, 'choice' for selecting from options, 'text' for free-text input, 'diff' for approving code changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The session ID | |
| prompt | Yes | The question for the user | |
| type | Yes | The type of decision | |
| options | No | For "choice" type: list of options | |
| diff | No | For "diff" type: file diff information | |
| defaultValue | No | Default value used if timeout fires | |
| timeoutSeconds | No | Timeout in seconds (default: 300) |