Structs§
- Anthropic
Advisor Caching - Prompt-caching configuration for the advisor tool.
- Anthropic
Advisor Tool - Anthropic server-side advisor tool definition (beta
advisor-tool-2026-03-01). - Anthropic
Code Execution Tool - Native code execution tool definition for Anthropic API.
- Anthropic
Error Body - Anthropic
Fallback Model - Anthropic
Fallback Param - Anthropic
Function Tool - Regular function tool definition for Anthropic API
- Anthropic
Memory Tool - Native memory tool definition for Anthropic API.
- Anthropic
Message - Anthropic
Message Delta - Anthropic
Message Response - Anthropic
Output Config - Output configuration for Anthropic API (e.g., effort parameter)
- Anthropic
Request - Anthropic
Stop Details - Anthropic
Task Budget - Anthropic
Tool Result Block - Extracted struct for
AnthropicContentBlock::ToolResult(boxed to reduce enum size). - Anthropic
Tool Search Tool - Tool search tool definition for Anthropic’s advanced-tool-use beta
- Anthropic
Tool UseBlock - Extracted struct for
AnthropicContentBlock::ToolUse(boxed to reduce enum size). - Anthropic
Usage - Anthropic
WebSearch Tool - Native web search tool definition for Anthropic API (PTC-enabled search revisions)
- Cache
Control - Count
Tokens Request - Request body for Anthropic’s count_tokens endpoint https://docs.anthropic.com/en/api/messages-count-tokens
- Count
Tokens Response - Response from Anthropic’s count_tokens endpoint
- Image
Source - Tool
Reference - A reference to a discovered tool from tool search
Enums§
- Anthropic
Content Block - Anthropic
Fallback - Anthropic
Fallbacks Keyword - Anthropic
Fallbacks Param - The
fallbacksrequest parameter: the"default"keyword (Anthropic picks the fallback by refusal category) or an explicit list of entries. Each form needs its own beta header; seeheaders::ServerSideFallbackForm. - Anthropic
Output Format - Native structured output format for Anthropic responses.
- Anthropic
Stream Delta - Anthropic
Stream Event - Anthropic
Tool - Anthropic tool definition Supports both regular function tools and tool search tools (advanced-tool-use beta)
- Anthropic
Usage Iteration - Text
Citation - Thinking
Config - Thinking
Display - Controls how thinking content is returned in API responses.
- Tool
Search Result Content - Content of a tool search result