ToolResultContent

tool_result content block (ToolResultContent, sampling only): the result of a tool call, answering the tool_use whose id is toolUseId.

Members

Variables

content
Content[] content;

nested content blocks of the result

isError
Nullable!bool isError;

optional error flag

structuredContent
Json structuredContent;

optional structured result

toolUseId
string toolUseId;

the id of the tool_use this answers

Mixed In Members

From mixin ContentMetaFields

annotations
Json annotations;

optional annotations (audience/priority/lastModified)

meta
Json meta;

optional _meta object