Index
templates
¶
MCP tool templates — reusable tool definitions from TOML.
Classes¶
ToolTemplate
¶
Bases: BaseTool
A tool dynamically constructed from a TOML template definition.
Source code in src/diapason/tools/templates/loader.py
Functions:¶
discover_templates
¶
discover_templates(
directory: Optional[str | Path] = None,
) -> List[ToolTemplate]
Discover all TOML templates in a directory.