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.AnthToolResultBlockcontent 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 3197–3360
Fields
type
stringtool_use_id
stringcontent
string | anthropic.internal.AnthBlock[]is_error
boolcache_control
baml.json.json | null