Table of Contents

Class InteractionComputerUseTool

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

The computer use tool (computer_use).

public sealed class InteractionComputerUseTool : InteractionTool
Inheritance
InteractionComputerUseTool
Inherited Members
Extension Methods

Constructors

InteractionComputerUseTool()

Initializes a new instance of the InteractionComputerUseTool class.

public InteractionComputerUseTool()

Properties

DisabledSafetyPolicies

Disabled safety policies (e.g. financial_transactions).

[JsonPropertyName("disabled_safety_policies")]
public List<string>? DisabledSafetyPolicies { get; set; }

Property Value

List<string>

EnablePromptInjectionDetection

Whether to enable the prompt injection detection check.

[JsonPropertyName("enable_prompt_injection_detection")]
public bool? EnablePromptInjectionDetection { get; set; }

Property Value

bool?

Environment

The environment being operated (browser, mobile, desktop).

[JsonPropertyName("environment")]
public string? Environment { get; set; }

Property Value

string

ExcludedPredefinedFunctions

Predefined functions that are excluded from the model call.

[JsonPropertyName("excluded_predefined_functions")]
public List<string>? ExcludedPredefinedFunctions { get; set; }

Property Value

List<string>