zeph_ask
Send a question to the user's phone with quick-reply buttons and a text field, then wait for their answer. Returns the selected action, typed text, or attached files.
Instructions
Ask the user a question on their phone: quick-reply buttons plus a text field — they tap or type. Pass actions (2–4 buttons) unless the answer is free-form text. Blocks until they answer or timeout passes. Requires ZEPH_HOOK_ID. Files the user attaches arrive as local absolute paths in the result's attachments; reading them is part of the answer. Never end-to-end encrypted (unlike zeph_notify / zeph_file), so keep secrets out of the question and do not expect a private answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Context or instructions | |
| title | Yes | Question or request title | |
| actions | No | Quick-reply buttons (1-4). Expected on nearly every ask — the phone steers by tapping, so put the next-step candidates here (next command, review, stop) plus a Done-like fallback. Omit ONLY when the answer is inherently free-form text; never omit on a "done — what next?" ask. | |
| timeout | No | Seconds to wait for response (default: 120) | |
| fallback | No | Action ID to auto-select on timeout | |
| inputType | No | Input field type (default: text) | text |
| placeholder | No | Input field placeholder hint |