Assign template to archive
fabrement-assign-template-archiveBind a site template to an archive view (context from list-archives: "archive:" | "blog-home" | "tax" | "tax:" | "tax::"); templateId 0 unbinds. The template's contentSource wants a rule for the same context (save-archive-page + save-template); without one the slot shows the archive record's own blocks, and is empty only where no record exists (a term, author, date view). 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": {
"context": "<context>",
"templateId": "<templateId>"
},
"name": "fabrement-assign-template-archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | "archive:<postType>", "blog-home", "tax", "tax:<taxonomy>" or "tax:<taxonomy>:<termId>" (see list-archives). A single term is named by its ID and nothing else — a slug is renamed, and a binding keyed on one stops matching with nothing to say so. Ids come from list-terms or list-archives. | |
| templateId | Yes | Template id to bind; 0 unbinds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| note | No | Present when the call changed nothing — an unbind of a view that was not bound. | |
| bound | Yes | ||
| context | Yes | ||
| templateId | Yes |