Code execution result content.

interface CodeExecutionResultContent {
    call_id?: string;
    is_error?: boolean;
    result?: string;
    signature?: string;
    type: "code_execution_result";
}

Properties

call_id?: string

ID to match the ID from the code execution call block.

is_error?: boolean

Whether the code execution resulted in an error.

result?: string

The output of the code execution.

signature?: string

A signature hash for backend validation.

type: "code_execution_result"

Used as the OpenAPI type discriminator for the content oneof.