anthropic.internal.AnthToolResultBlock

`content` is the plain string for a text-only result and a block list (text, image, document) when the result carries media.

Reference version

Signature

class anthropic.internal.AnthToolResultBlock

content is the plain string for a text-only result and a block list (text, image, document) when the result carries media.

Source:<builtin>/anthropic/ns_internal/messages.bamlbytes 31973360

Fields

type

string

tool_use_id

string

is_error

bool

cache_control

baml.json.json | null