Icons returns MCP Icon objects for this toolset, or nil if no icon is set. Icons are provided in both 16x16 and 24x24 sizes.
()
| 40 | // Icons returns MCP Icon objects for this toolset, or nil if no icon is set. |
| 41 | // Icons are provided in both 16x16 and 24x24 sizes. |
| 42 | func (tm ToolsetMetadata) Icons() []mcp.Icon { |
| 43 | return octicons.Icons(tm.Icon) |
| 44 | } |
| 45 | |
| 46 | // ServerTool represents an MCP tool with metadata and a handler generator function. |
| 47 | // The tool definition is static, while the handler is generated on-demand |
no test coverage detected