Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Configuration for the openrouter:experimental__search_models server tool

Example Usage

import { SearchModelsServerToolConfig } from "@openrouter/sdk/models";

let value: SearchModelsServerToolConfig = {};

Fields

FieldTypeRequiredDescriptionExample
maxResultsnumber:heavy_minus_sign:Maximum number of models to return. Defaults to 5, max 20.5