Get Template
get_templateRetrieve a complete website template by ID or slug, including fields and HTML layout, from the LightCMS content management system.
Instructions
Get a single template by ID or slug. Returns full template including fields and HTML layout.
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": "get_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Template ID (MongoDB ObjectID) | |
| slug | No | Template slug |