Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MCPRequest ¶
type MCPRequest struct {
Method string `json:"method"`
Params json.RawMessage `json:"params,omitempty"`
ID *int `json:"id,omitempty"`
}
MCPRequest represents a request from the MCP client
type MCPResponse ¶
type MCPResponse struct {
Result json.RawMessage `json:"result,omitempty"`
Error *MCPError `json:"error,omitempty"`
ID *int `json:"id"`
}
MCPResponse represents a response to the MCP client
Click to show internal directories.
Click to hide internal directories.