ItemMcpToolCall Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
MCP tool call.
public class ItemMcpToolCall : Azure.AI.AgentServer.Responses.Models.Item, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.ItemMcpToolCall>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.ItemMcpToolCall>
type ItemMcpToolCall = class
inherit Item
interface IJsonModel<ItemMcpToolCall>
interface IPersistableModel<ItemMcpToolCall>
Public Class ItemMcpToolCall
Inherits Item
Implements IJsonModel(Of ItemMcpToolCall), IPersistableModel(Of ItemMcpToolCall)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ItemMcpToolCall(String, String, String, String) |
Initializes a new instance of ItemMcpToolCall. |
Properties
| Name | Description |
|---|---|
| ApprovalRequestId |
Gets or sets the ApprovalRequestId. |
| Arguments |
A JSON string of the arguments passed to the tool. |
| Error |
Gets the Error. To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
| Id |
The unique ID of the tool call. |
| Name |
The name of the tool that was run. |
| Output |
Gets or sets the Output. |
| ServerLabel |
The label of the MCP server running the tool. |
| Status |
The status of the tool call. One of |