ComputerUse: {
    enable_prompt_injection_detection?: boolean;
    environment?: EnvironmentEnum;
    excluded_predefined_functions?: string[];
    type: "computer_use";
}

A tool that can be used by the model to interact with the computer.

Type declaration

  • Optionalenable_prompt_injection_detection?: boolean

    Whether enable the prompt injection detection check on computer-use

    request.

  • Optionalenvironment?: EnvironmentEnum

    The environment being operated.

  • Optionalexcluded_predefined_functions?: string[]

    The list of predefined functions that are excluded from the model call.

  • type: "computer_use"