ToolResultBlockDict¶
Dictionary Type¶
ToolResultBlockDict
¶
Bases: TypedDict
Dictionary form of ToolResultBlock.
Attributes¶
content
instance-attribute
¶
content: Required[Sequence[ToolResultContentBlock | ToolResultContentBlockDict]]
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
¶
The ID of the tool request that this is the result for.