Skip to main content

ToolResult

@codebolt/codeboltjs


Interface: ToolResult

Defined in: packages/codeboltjs/src/types/libFunctionTypes.ts:209

Result from a tool execution

Properties

PropertyTypeDescriptionDefined in
contentstring | Record<string, unknown>The content returned by the toolpackages/codeboltjs/src/types/libFunctionTypes.ts:215
role"tool"Always 'tool' for tool execution resultspackages/codeboltjs/src/types/libFunctionTypes.ts:211
tool_call_idstringID that links this result to the original tool callpackages/codeboltjs/src/types/libFunctionTypes.ts:213
userMessage?string | Record<string, unknown>Optional user message to be added after tool executionpackages/codeboltjs/src/types/libFunctionTypes.ts:217