Skip to main content
The Python SDK and docs are currently in beta. Report issues on GitHub.

Fields

FieldTypeRequiredDescriptionExample
allowed_callersList[components.AnthropicAllowedCallers]:heavy_minus_sign:N/A[
“direct”
]
cache_controlOptional[components.AnthropicCacheControlDirective]:heavy_minus_sign: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"}
cachingOptionalNullable[components.Caching]:heavy_minus_sign:N/A{"type": "ephemeral"}
defer_loadingOptional[bool]:heavy_minus_sign:N/A
max_usesOptional[int]:heavy_minus_sign:N/A
modelstr:heavy_check_mark:N/A
namecomponents.NameAdvisor:heavy_check_mark:N/A
typecomponents.TypeAdvisor20260301:heavy_check_mark:N/A