Home / Class/ ToolResultBlockParam Class — anthropic-sdk-python Architecture

ToolResultBlockParam Class — anthropic-sdk-python Architecture

Architecture documentation for the ToolResultBlockParam class in tool_result_block_param.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  25be5902_c784_15e0_3154_e9e843fdd2da["ToolResultBlockParam"]
  71be28ac_8b64_6801_e2ce_e608f13ca448["tool_result_block_param.py"]
  25be5902_c784_15e0_3154_e9e843fdd2da -->|defined in| 71be28ac_8b64_6801_e2ce_e608f13ca448

Relationship Graph

Source Code

src/anthropic/types/tool_result_block_param.py lines 19–29

class ToolResultBlockParam(TypedDict, total=False):
    tool_use_id: Required[str]

    type: Required[Literal["tool_result"]]

    cache_control: Optional[CacheControlEphemeralParam]
    """Create a cache control breakpoint at this content block."""

    content: Union[str, Iterable[Content]]

    is_error: bool

Frequently Asked Questions

What is the ToolResultBlockParam class?
ToolResultBlockParam is a class in the anthropic-sdk-python codebase, defined in src/anthropic/types/tool_result_block_param.py.
Where is ToolResultBlockParam defined?
ToolResultBlockParam is defined in src/anthropic/types/tool_result_block_param.py at line 19.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free