render_template
Render a template file in SiYuan by providing a block ID and the absolute template path.
Instructions
渲染模板文件
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"path": "<path>"
},
"name": "render_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 思源块、文档、笔记本或数据库 ID | |
| path | Yes | 模板绝对路径 |