OutputSearchModelsServerToolItem - TypeScript SDK

OutputSearchModelsServerToolItem type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

An openrouter:experimental__search_models server tool output item

Example Usage

1import { OutputSearchModelsServerToolItem } from "@openrouter/sdk/models";
2
3let value: OutputSearchModelsServerToolItem = {
4 status: "completed",
5 type: "openrouter:experimental__search_models",
6};

Fields

FieldTypeRequiredDescriptionExample
argumentsstringThe JSON arguments submitted to the search tool (e.g. {"query":"Claude"})
idstringN/A
querystringN/A
statusmodels.ToolCallStatus✔️N/Acompleted
typemodels.OutputSearchModelsServerToolItemType✔️N/A