A function tool result content block.

interface FunctionResultContent {
    call_id: string;
    is_error?: boolean;
    name?: string;
    result: unknown;
    type: "function_result";
}

Properties

call_id: string

ID to match the ID from the function call block.

is_error?: boolean

Whether the tool call resulted in an error.

name?: string

The name of the tool that was called.

result: unknown

The result of the tool call.

type: "function_result"

Used as the OpenAPI type discriminator for the content oneof.