Skip to content

ToolResultBlockDict

Dictionary Type

ToolResultBlockDict

Bases: TypedDict

Dictionary form of ToolResultBlock.

Attributes

content instance-attribute

The content for tool result content block.

status instance-attribute
status: str | None

The status for the tool result content block.

Note

This field is only supported by Amazon Nova and Anthropic Claude 3 and 4 models.

tool_use_id instance-attribute
tool_use_id: Required[str]

The ID of the tool request that this is the result for.

type instance-attribute
type: str | None

The type for the tool result content block.