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

Code execution result step.

Type declaration

  • call_id: string

    Required. ID to match the ID from the function call block.

  • Optionalis_error?: boolean

    Whether the code execution resulted in an error.

  • result: string

    Required. The output of the code execution.

  • Optionalsignature?: string

    A signature hash for backend validation.

  • type: "code_execution_result"