symfonic.memory.layers.procedural.catalog¶
catalog ¶
ToolCatalog -- dynamic registry of available capabilities.
Replaces the hardcoded catalog string from the POC's capability_router node. Tools are registered at runtime and queried by the CapabilityRouter.
ToolCatalog ¶
Registry of available tools and capabilities.
Tools are registered dynamically and can be searched by keyword. The catalog provides tool metadata to the CapabilityRouter for LLM-driven tool selection.
Source code in src/symfonic/memory/layers/procedural/catalog.py
get ¶
list_all ¶
register ¶
Register a tool with its description and schema.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tool_id
|
str
|
Unique identifier for the tool. |
required |
description
|
str
|
Human-readable description of what the tool does. |
required |
schema
|
dict[str, Any]
|
JSON schema or dict describing the tool's parameters. |
required |
Source code in src/symfonic/memory/layers/procedural/catalog.py
search ¶
Search tools by keyword matching against ID and description.
Simple case-insensitive substring matching for v1.