---
title: "SearchModelsServerToolOpenRouter"
---

OpenRouter built-in server tool: searches and filters AI models available on OpenRouter


## Fields

| Field                                                                                                    | Type                                                                                                     | Required                                                                                                 | Description                                                                                              | Example                                                                                                  |
| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| `parameters`                                                                                             | [Optional[components.SearchModelsServerToolConfig]](../components/searchmodelsservertoolconfig.mdx)       | :heavy_minus_sign:                                                                                       | Configuration for the openrouter:experimental__search_models server tool                                 | \{<br/>"max_results": 5<br/>}                                                                             |
| `type`                                                                                                   | [components.SearchModelsServerToolOpenRouterType](../components/searchmodelsservertoolopenroutertype.mdx) | :heavy_check_mark:                                                                                       | N/A                                                                                                      |                                                                                                          |