list_templates
Find the right HTML template by listing all available templates with their metadata, including name, use case, format, and components.
Instructions
列出 templates/ 目录下所有可用的 HTML 模板,返回模板元数据(名称、适用场景、格式、组件等)。编排层可据此选择最合适的模板。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| templatesDir | No | 模板目录的绝对路径,默认为项目根目录下的 templates/ |