---
title: "ChatSearchModelsServerTool"
---

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.ChatSearchModelsServerToolType](../components/chatsearchmodelsservertooltype.mdx)       | :heavy_check_mark:                                                                                 | N/A                                                                                                |                                                                                                    |