Set default template
fabrement-set-default-templateMake a template the DEFAULT frame for one post type (one default per type — replaces the previous one; 0 clears). This is the one call for a whole-site header/footer; assign-template-pages is for per-page exceptions. postType "404" = the frame of every not-found address (its body: a contentSource rule with context "404", else the notFoundPage). Rules: get-skill-doc {id:"template-contract"} — read it before the first call.
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": {
"templateId": "<templateId>"
},
"name": "fabrement-set-default-template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postType | No | Post type the default applies to (default "page"), or "404" for the not-found view. | |
| templateId | Yes | Template id from list-templates; 0 clears the default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Present only when something about this site keeps the default off a page it would otherwise wrap. | |
| postType | Yes | ||
| defaultFor | Yes | ||
| templateId | Yes |