Get content
fabrement-get-contentRead ONE page/post/custom record in full: everything list-content reports plus slug, template, excerpt, featuredImage and blocks — its body as save-content takes it ({name, attributes} or {markup}), outline (block name per index) and hash. The step before editing a page: get-content → save-content {contentId, mode:"edit", edits, expectedHash: hash}.
Rules: get-skill-doc {id:"content-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": {
"contentId": "<contentId>"
},
"name": "fabrement-get-content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contentId | Yes | Record id from list-content. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| hash | No | expectedHash for save-content mode "edit". | |
| slug | No | URL slug (post_name). | |
| terms | No | ||
| title | Yes | ||
| blocks | Yes | In order, as save-content takes them back: {name, attributes} for a Fabrement block, {markup} for a core block. | |
| parent | No | Parent record id; 0 = top level. | |
| status | Yes | ||
| editUrl | No | ||
| excerpt | No | ||
| outline | No | Block name at each index of `blocks` — the `index` + `name` of a save-content edit. | |
| modified | No | ||
| postType | Yes | ||
| template | No | Site template slug in use, "" = the default for its type — as list-template-pages reports it; assign-template-pages changes it. | |
| contentId | Yes | ||
| menuOrder | No | ||
| featuredImage | No |