Versions in this module Expand all Collapse all v0 v0.1.0 Jun 17, 2026 Changes in this version + const NamespaceSeparator + type AuditRecord struct + Allowed bool + BreakerState string + ClientID string + Decision ReasonCode + Error string + LatencyMS int64 + Redactions int + Timestamp time.Time + ToolName string + Truncated bool + func (r *AuditRecord) Reset() + type Call struct + Args json.RawMessage + Client Identity + Tool ToolRef + type Catalog struct + Tools []Tool + func (c Catalog) Lookup(namespaced string) (Tool, bool) + type CatalogFilter interface + Filter func(client Identity, full Catalog) Catalog + type Decider interface + Decide func(client Identity, tool ToolRef) Decision + type Decision struct + Allow bool + Reason ReasonCode + func Allowed() Decision + func Denied(reason ReasonCode) Decision + type Dispatcher interface + Dispatch func(ctx context.Context, call *Call) (*Result, error) + type HandlerFunc func(ctx context.Context, call *Call) (*Result, error) + type Identity struct + ID string + func (i Identity) String() string + type ReasonCode string + const ReasonAllowed + const ReasonDeniedDefault + const ReasonDeniedExplicit + type Result struct + Content json.RawMessage + IsError bool + type Stage interface + Handle func(ctx context.Context, call *Call, next HandlerFunc) (*Result, error) + type Tool struct + Annotations json.RawMessage + Description string + Icons json.RawMessage + InputSchema json.RawMessage + OutputSchema json.RawMessage + Ref ToolRef + Title string + type ToolRef struct + Downstream string + Tool string + func ParseToolRef(namespaced string) (ToolRef, error) + func (t ToolRef) Namespaced() string + func (t ToolRef) String() string