Table of Contents

Class InteractionMcpServerToolCallStep

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

A call to a tool of a remote MCP server (mcp_server_tool_call).

public sealed class InteractionMcpServerToolCallStep : InteractionCallStep
Inheritance
InteractionMcpServerToolCallStep
Inherited Members
Extension Methods

Constructors

InteractionMcpServerToolCallStep()

Initializes a new instance of the InteractionMcpServerToolCallStep class.

public InteractionMcpServerToolCallStep()

Properties

Arguments

Required. The JSON object of arguments for the tool.

[JsonPropertyName("arguments")]
public JsonObject? Arguments { get; set; }

Property Value

JsonObject

Name

Required. The name of the tool which was called.

[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string

ServerName

Required. The name of the MCP server.

[JsonPropertyName("server_name")]
public string? ServerName { get; set; }

Property Value

string