ToolAdvisor20260301 - Go SDK
ToolAdvisor20260301 - Go SDK
ToolAdvisor20260301 type definition
ToolAdvisor20260301 - Go SDK
The Go SDK and docs are currently in beta. Report issues on GitHub.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
AllowedCallers | []components.AnthropicAllowedCallers | ➖ | N/A | [ “direct” ] |
CacheControl | *components.AnthropicCacheControlDirective | ➖ | Enable 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"} |
Caching | optionalnullable.OptionalNullable[components.Caching] | ➖ | N/A | {"type": "ephemeral"} |
DeferLoading | *bool | ➖ | N/A | |
MaxUses | *int64 | ➖ | N/A | |
Model | string | ✔️ | N/A | |
Name | components.NameAdvisor | ✔️ | N/A | |
Type | components.TypeAdvisor20260301 | ✔️ | N/A |