Update post type
fabrement-update-post-typeUpdate a custom post type Fabrement created — send only what changes; the slug identifies it and cannot change (delete + create to rename). Takes effect immediately. Rules: get-skill-doc {id:"content-model-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": {
"slug": "<slug>"
},
"name": "fabrement-update-post-type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The custom post type slug (from list-post-types-custom). Immutable. | |
| plural | No | Plural label. | |
| public | No | ||
| rewrite | No | URL base. | |
| menuIcon | No | A dashicons-* class. | |
| singular | No | Singular label. | |
| supports | No | ||
| hasArchive | No | ||
| showInRest | No | ||
| taxonomies | No | ||
| hierarchical | No | ||
| menuPosition | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postType | Yes |