create_from_template
Create a file from a template by specifying the template name, target path, and optional variables to fill in placeholders.
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": {
"template": "<template>",
"path": "<path>"
},
"name": "create_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | Yes | 模板名称或模板文件路径 | |
| path | Yes | 目标文件路径 | |
| variables | No | 模板变量(键值对) |