Autobot::Tools::Registry
Registry for agent tools with rate limiting
Constants
Log = ::Log.for("tools.registry")
Constructors
Instance methods
allowlist
Sourcedefinitions(exclude : Array(String) | Nil = nil, compact : Array(String) | Nil = nil) : Array(Hash(String, JSON::Any))
Get all tool definitions in OpenAI/Anthropic function calling format.
exclude: tool names to omit entirelycompact: tool names to emit as compact schemas (no description). Used by progressive disclosure to save tokens for tools the LLM has already called and understands.
register(tool : Tool) : Nil
Sourceunmatched_patterns
Source