> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zapbip.com/llms.txt
> Use this file to discover all available pages before exploring further.

# wait_for_reply

> 答え、または次のオーナーメッセージを待ちます。

答え、または次のオーナーメッセージを待ちます。

## 入力

| フィールド | 型 | 備考 |
| - | - | - |
| `question_id` | string、任意 | 待機する質問。 |
| `timeout_seconds` | number、任意 | 最大50。 |

## 出力

`question_id` がある場合: [ask](https://docs.zapbip.com/ja/mcp-reference/ask.md) と同じ答えが、質問が保持されている間は毎回返ります。ない場合: `{ "status": "message", "messages": [...] }`。時間切れのときは `{ "status": "timeout" }`。

## メッセージの種類

| 種類 | エージェントからオーナーへ | オーナーからエージェントへ |
| - | - | - |
| `text` | [send\_message](https://docs.zapbip.com/ja/mcp-reference/send-message.md) | テキスト |
| `image` | [send\_media](https://docs.zapbip.com/ja/mcp-reference/send-media.md)、最大5 MB | 1 MB以下ならインラインの画像、それ以外は署名付きリンク |
| `video` | [send\_media](https://docs.zapbip.com/ja/mcp-reference/send-media.md)、最大16 MB | 署名付きリンク |
| `audio` | [send\_media](https://docs.zapbip.com/ja/mcp-reference/send-media.md)、最大16 MB、ボイスメッセージは `voice` | 署名付きリンク |
| `document` | [send\_media](https://docs.zapbip.com/ja/mcp-reference/send-media.md)、最大100 MB | 署名付きリンク、ファイル名、MIMEタイプ |
| `sticker` | [send\_media](https://docs.zapbip.com/ja/mcp-reference/send-media.md) | 署名付きリンク |
| `location` | [send\_location](https://docs.zapbip.com/ja/mcp-reference/send-location.md) | 緯度、経度、名称、住所 |
| `contacts` | [send\_contact](https://docs.zapbip.com/ja/mcp-reference/send-contact.md) | 連絡先カード |
| `reaction` | [react](https://docs.zapbip.com/ja/mcp-reference/react.md) | `message_id` と `emoji`。リアクションされたメッセージを送ったエージェントへ届く |
| `choice` | [ask](https://docs.zapbip.com/ja/mcp-reference/ask.md)、3件までのボタン、4〜10件のリスト | `option_id`、`title`、任意の `description` |
| 引用 | すべての送信で `reply_to` | `reply_to`。引用されたメッセージを送ったエージェントへ届く |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.