Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Action ¶
type Action struct {
Name string `json:"name"`
Description string `json:"description"`
Fields []Field `json:"fields"`
}
Action represents a single action available on a protocol.
type Field ¶
type Field struct {
Name string `json:"name"`
Type string `json:"type"`
Required bool `json:"required"`
Description string `json:"description"`
}
Field describes a single input field for an action.
type Protocol ¶
type Protocol struct {
Name string `json:"name"`
Slug string `json:"slug"`
Description string `json:"description"`
Actions []Action `json:"actions"`
}
Protocol represents a single blockchain protocol with its available actions.
type SchemasResponse ¶
type SchemasResponse struct {
Plugins []Protocol `json:"plugins"`
}
SchemasResponse is the shape of the /api/mcp/schemas response.
Click to show internal directories.
Click to hide internal directories.