ToolResultPart
@forge/monorepo / backend/src / ToolResultPart
Type Alias: ToolResultPart
ToolResultPart =
PartBase<"tool-result"> &object
Defined in: backend/src/core/content-parts.ts:85
Type Declaration
output?
readonlyoptionaloutput?:unknown
Populated for inline results. Large results are spilled and referenced instead.
ranToolName?
readonlyoptionalranToolName?: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?
readonlyoptionalspilledOutputRef?:BlobRef
Authorized reference to an offloaded result, read back via read_tool_output.
toolCallId
readonlytoolCallId:ToolCallId
toolName
readonlytoolName:string
truncated
readonlytruncated:boolean