Versions in this module Expand all Collapse all v0 v0.1.0 Jun 1, 2026 Changes in this version + func DefaultShape(r *Response) string + func InputSchema(op ir.Operation) json.RawMessage + func Register(s *server.MCPServer, tools []Tool) + func WithHeaders(ctx context.Context, h map[string]string) context.Context + type AnnotateFunc func(op ir.Operation, base mcp.ToolAnnotation) mcp.ToolAnnotation + type AuditEvent struct + Duration time.Duration + Err error + Method string + OperationID string + Path string + Status int + type AuditFunc func(AuditEvent) + type BuildConfig struct + Annotator AnnotateFunc + Audit AuditFunc + Executor *Executor + Limit RateLimit + Shape ShapeFunc + type Executor struct + BaseURL string + Client *http.Client + StaticHeaders map[string]string + func (e *Executor) Call(ctx context.Context, op ir.Operation, args map[string]any) (*Response, error) + type RateLimit struct + Burst int + PerSecond float64 + type Response struct + Body []byte + ContentType string + Status int + type ShapeFunc func(*Response) string + func Truncate(max int, inner ShapeFunc) ShapeFunc + type Tool struct + Handler server.ToolHandlerFunc + MCP mcp.Tool + Operation ir.Operation + func Build(ops []ir.Operation, cfg BuildConfig) []Tool