Table of Contents

Class McpOutput

Namespace
Glitch9.AIDevKit

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

public class McpOutput : ToolOutput, IPrompt, IMcp, IJsonArguments
Inheritance
object
McpOutput
Implements
IJsonArguments
Inherited Members
Extension Methods

Constructors

McpOutput()

public McpOutput()

Properties

ApprovalRequestId

The ID of an associated approval request, if any.

public string ApprovalRequestId { get; set; }

Property Value

string

Arguments

A JSON string of the arguments passed to the tool.

public string Arguments { get; set; }

Property Value

string

Error

The error from the tool call, if any.

public McpException Error { get; set; }

Property Value

McpException

Name

public string Name { get; set; }

Property Value

string

Output

public string Output { get; set; }

Property Value

string

ServerLabel

The label of the MCP server running the tool.

public string ServerLabel { get; set; }

Property Value

string