Skip to content
1 min read · 117 words

Interface: ConverseToolResult ​

Defined in: src/batteries/llm/bedrock_converse/types.ts:104

A tool result, carried on a user turn.

Remarks ​

toolUseId must match the toolUse that requested it; an unmatched id is rejected.

Properties ​

PropertyTypeDescriptionDefined in
content{ json?: Record<string, unknown>; text?: string; }[]Result blocks; text or json.src/batteries/llm/bedrock_converse/types.ts:108
status?"error" | "success"Whether the tool succeeded; 'error' lets the model react to a failure.src/batteries/llm/bedrock_converse/types.ts:110
toolUseIdstringMust match the toolUse that requested it; an unmatched id is rejected.src/batteries/llm/bedrock_converse/types.ts:106