Class McpOutput
An invocation of a tool on an MCP server.
This is both a tool call (from model to user) and a tool call output (from user to model).
Model > User > And you should send the corresponding output back to the model
Assembly: Glitch9.AIDevKit.dll
Syntax
public class McpOutput : ToolOutput, IPrompt, IValidatable, IHasId<string>, IMcp, IJsonArguments
Constructors
|
Edit this page
View Source
McpOutput()
Declaration
Properties
|
Edit this page
View Source
ApprovalRequestId
The ID of an associated approval request, if any.
Declaration
[JsonProperty("approval_request_id")]
public string ApprovalRequestId { get; set; }
Property Value
|
Edit this page
View Source
Arguments
A JSON string of the arguments passed to the tool.
Declaration
[JsonProperty("arguments")]
public string Arguments { get; set; }
Property Value
|
Edit this page
View Source
Error
The error from the tool call, if any.
Declaration
[JsonProperty("error")]
public McpException Error { get; set; }
Property Value
|
Edit this page
View Source
Name
Declaration
[JsonProperty("name")]
public string Name { get; set; }
Property Value
|
Edit this page
View Source
Output
Declaration
[JsonProperty("output")]
public string Output { get; set; }
Property Value
|
Edit this page
View Source
ServerLabel
The label of the MCP server running the tool.
Declaration
[JsonProperty("server_label")]
public string ServerLabel { get; set; }
Property Value
Implements
Extension Methods