Versions in this module Expand all Collapse all v0 v0.2.1 Oct 16, 2026 Changes in this version + var ErrTool = errors.New("MCP tool failed") + func AddCommands(root *cobra.Command, opts Options) error + func NewCommand(opts Options) (*cobra.Command, error) + func Render(w io.Writer, result *mcp.CallToolResult, format string, columns []Column) error + type Binding struct + Columns []Column + Flags map[string]string + Path []string + Positionals []string + type Column struct + Header string + Path string + type InvokeFunc func(context.Context, string, json.RawMessage) (*mcp.CallToolResult, error) + type Options struct + Bindings map[string]Binding + Description string + Invoke InvokeFunc + MaxInputBytes int64 + Name string + OutputFormat func(*cobra.Command) string + Tools []*mcp.Tool + Version string