ToolAdvisor20260301 - Go SDK

ToolAdvisor20260301 type definition

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

Fields

FieldTypeRequiredDescriptionExample
AllowedCallers[]components.AnthropicAllowedCallersN/A[
“direct”
]
CacheControl*components.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"}
Cachingoptionalnullable.OptionalNullable[components.Caching]N/A{"type": "ephemeral"}
DeferLoading*boolN/A
MaxUses*int64N/A
Modelstring✔️N/A
Namecomponents.NameAdvisor✔️N/A
Typecomponents.TypeAdvisor20260301✔️N/A