Skip to main content

ToolResultPart

@retinue/monorepo


@retinue/monorepo / backend/src / ToolResultPart

Type Alias: ToolResultPart

ToolResultPart = PartBase<"tool-result"> & object

Defined in: backend/src/core/content-parts.ts:85

Type Declaration​

output?​

readonly optional output?: unknown

Populated for inline results. Large results are spilled and referenced instead.

ranToolName?​

readonly optional ranToolName?: string

What actually ran, when it differs from toolName — task #210.

execute_tool names its target, so the call the model made and the action performed are two different things. Both are recorded: the first is what the model's own history says it did, and the second is what a reader needs.

spilledOutputRef?​

readonly optional spilledOutputRef?: BlobRef

Authorized reference to an offloaded result, read back via read_tool_output.

toolCallId​

readonly toolCallId: ToolCallId

toolName​

readonly toolName: string

truncated​

readonly truncated: boolean