Unregister a tool by name
The tool name
true if tool was removed, false if not found
Get a tool by name
The tool name
The tool, or null if not found
Check if a tool is registered
The tool name
true if registered
List all registered tools
Array of all registered tools
Get metadata for a tool
The tool name
Tool metadata, or null if not found
Search for tools matching criteria
Search options
Array of matching tools with scores
Get tool definitions for LLM function calling
Optionalnames: string[]Optional array of tool names to include (all if not specified)
Array of tool definitions
List all categories
Array of unique categories
List all tags
Array of unique tags
Get tools by category
The category name
Array of tools in the category
Get tools by tag
The tag name
Array of tools with the tag
Clear all registered tools
Get count of registered tools
Number of tools
In-memory implementation of ToolRegistry.
Provides fast, synchronous tool management with metadata and search capabilities. Suitable for development, testing, and single-instance deployments.
Example