Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
OpenRouter built-in server tool: searches and filters AI models available on OpenRouter

Example Usage

Fields

FieldTypeRequiredDescriptionExample
parametersmodels.SearchModelsServerToolConfig:heavy_minus_sign:Configuration for the openrouter:experimental__search_models server tool{"max_results": 5}
typemodels.ChatSearchModelsServerToolType:heavy_check_mark:N/A