ToolAdvisor20260301 - TypeScript SDK

ToolAdvisor20260301 type definition

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

Example Usage

1import { ToolAdvisor20260301 } from "@openrouter/sdk/models";
2
3let value: ToolAdvisor20260301 = {
4 model: "Fortwo",
5 name: "advisor",
6 type: "advisor_20260301",
7};

Fields

FieldTypeRequiredDescriptionExample
allowedCallersmodels.AnthropicAllowedCallers[]N/A[
“direct”
]
cacheControlmodels.AnthropicCacheControlDirectiveEnable automatic prompt caching. When set at the top level, the system automatically applies cache breakpoints to the last cacheable block in the request. Currently supported for Anthropic Claude models.{"type": "ephemeral"}
cachingmodels.CachingN/A{"type": "ephemeral"}
deferLoadingbooleanN/A
maxUsesnumberN/A
modelstring✔️N/A
namemodels.NameAdvisor✔️N/A
typemodels.TypeAdvisor20260301✔️N/A