List template pages
fabrement-list-template-pagesList the records a template can be assigned to — every public type: id, title, status, postType, typeLabel, template (slug in use, "" = default), isFront. Use it to gather ids before assign-template-pages. templateId does not narrow the list; it only guarantees that the picks this template already holds are in it, whatever the search.
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": "fabrement-list-template-pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows (default 50). | |
| search | No | Title search filter (empty = first pages). | |
| templateId | No | Does NOT narrow the list; it only guarantees the picks this template already holds are in it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Present when something about this site keeps a page out of the ordinary rules — a classic theme with its own front-page.php, for one. | |
| pages | Yes |