langchain.js
    Preparing search index...

    Interface XAIResponsesCodeInterpreterToolCall

    Code interpreter tool call from a previous response.

    interface XAIResponsesCodeInterpreterToolCall {
        code?: string;
        id: string;
        status?: "in_progress" | "completed" | "failed" | "interpreting";
        type: "code_interpreter_call";
    }
    Index

    Properties

    Properties

    code?: string

    The code to execute.

    id: string

    The ID of the tool call.

    status?: "in_progress" | "completed" | "failed" | "interpreting"

    The status of the code interpreter.

    type: "code_interpreter_call"