Skip to content

Interface: PrecedingCompletedToolResult ​

Defined in: ports/fork-context.ts:11

Completed tool execution result for a preceding regular tool call (1..m) in an assistant turn that also dispatches a 'clone-transcript' downward fork.

Enables ModelDriver.prepareFork() to synthesize a complete tool_result frame pairing all tool calls (1..k) on forkPointMessageId without breaking provider call-pairing invariants.

Properties ​

PropertyModifierTypeDescriptionDefined in
callIdreadonlystringWire-level tool call identifier (1..m).ports/fork-context.ts:13
contentreadonlystringSerialized tool output text.ports/fork-context.ts:15
isError?readonlybooleanOptional flag indicating whether the tool call returned an error.ports/fork-context.ts:17

Released under the MIT License.