Type alias FunctionCallOutputItem

FunctionCallOutputItem: {
    call_id: string;
    output: string;
    type: "function_call_output";
}

An outbound function_call_output item to send to the backend. Represents the result of executing a client-side tool.

Type declaration

  • call_id: string

    Must match the call_id of the corresponding function_call.

  • output: string

    The output/result of the tool execution (typically a JSON-encoded string).

  • type: "function_call_output"