rskit-tool
Tool definitions, callable adapters, JSON Schema I/O, structured results, registries, and executable permission envelopes.
Middleware ownership
rskit-tool intentionally does not expose local with_logging, with_timeout, with_recover, retry, metrics, validation, or result-limit middleware. Compose those concerns with their canonical owners: tracing/rskit-observability, tower/rskit-resilience, and rskit-schema/rskit-validation.
Envelope
Every Definition includes an Envelope. Defaults deny network, filesystem, and subprocess access;
safety defaults to read-only; data_classification defaults to public.
Architecture
graph TD
ai[rskit-ai]
schema[rskit-schema]
errors[rskit-errors]
tool[rskit-tool]
def[Definition + Envelope]
registry[Registry]
callable[Callable adapters]
agent[rskit-agent]
mcp[rskit-mcp]
inference[rskit-inference]
ai --> tool
schema --> tool
errors --> tool
tool --> def
tool --> registry
tool --> callable
registry --> agent
registry --> mcp
def --> inference