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

# ウェブ検索

> 任意のモデルの回答にリアルタイムのウェブデータを活用します。web プラグインまたは :online サフィックスを使用するか、モデル主導の検索のために Server Tools に移行してください。

<Warning>
  `web` プラグインと `:online` モデルサフィックスは**非推奨**です。引き続き動作しますが、新しい統合では代わりに [Server Tools](/jp/guides/features/server-tools/overview) を使用してください。
</Warning>

ARouter は任意のモデルのウェブ検索グラウンディングをサポートしています。モデルスラグに `:online` を追加するか、`web` プラグインを使用して有効化できます。

## クイックスタート

```json theme={null}
{"model": "openai/gpt-5.4:online"}
```

または：

```json theme={null}
{"model": "openai/gpt-5.4", "plugins": [{"id": "web"}]}
```

## web プラグインのカスタマイズ

```json theme={null}
{
  "model": "openai/gpt-5.4",
  "messages": [...],
  "plugins": [{"id": "web", "max_results": 3}]
}
```

| パラメーター            | タイプ        | デフォルト | 説明                                         |
| ----------------- | ---------- | ----- | ------------------------------------------ |
| `id`              | `string`   | —     | `"web"` でなければならない                          |
| `max_results`     | `number`   | `5`   | 最大検索結果数                                    |
| `engine`          | `string`   | auto  | 検索エンジン：`"native"`、`"exa"`、または `"parallel"` |
| `include_domains` | `string[]` | —     | これらのドメインからの結果のみ返す                          |
| `exclude_domains` | `string[]` | —     | これらのドメインからの結果を除外                           |

## Server Tools への移行

移行ガイドについては [Server Tools — ウェブ検索](/jp/guides/features/server-tools/overview) を参照してください。
