Versions in this module Expand all Collapse all v1 v1.1.0 Sep 28, 2026 Changes in this version + type OutputEncoder func(context.Context, any) ([]byte, error) v1.0.0 Sep 22, 2026 Changes in this version + type Config struct + Authorize func(context.Context, exec.ComponentTarget) error + Client xmcp.Client + Invoker exec.ComponentInvoker + Output func(exec.ComponentTarget) *output.Plan + type Execution struct + func (e *Execution) Error() error + func (e *Execution) Payload() ([]byte, error) + func (e *Execution) StatusCode() int + func (e *Execution) ToolResult() *schema.CallToolResult + func (e *Execution) Value() interface{} + type Invoker struct + func New(config Config) *Invoker + func (i *Invoker) Execute(ctx context.Context, request Request) (*Execution, *jsonrpc.Error) + type Request struct + Method string + Scope *requestprovider.Scope + Target exec.ComponentTarget + URI string