apply_template
Process a template with variables and return the substituted content without creating a file. Supports placeholders for title, date, time, and custom variables.
Instructions
Apply a template with variables and return the processed content without creating a file. Supports {{title}}, {{date}}, {{date:FORMAT}}, {{time}}, and custom {{variable}} placeholders.
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": {
"name": "<name>"
},
"name": "apply_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the template | |
| title | No | Title to replace {{title}} placeholder | |
| variables | No | Custom variables as key-value pairs (e.g., {"author": "John"}) |