Package version:

Interface ToolOutput

The data provided during a tool outputs submission to resolve pending tool calls and allow the model to continue.

interface ToolOutput {
    output?: string;
    toolCallId?: string;
}

Properties

Properties

output?: string

The output from the tool to be submitted.

toolCallId?: string

The ID of the tool call being resolved, as provided in the tool calls of a required action from a run.