legal_update_section
Update a legal section's heading or body while keeping its slug unchanged, so existing shortcodes remain functional.
Instructions
Update a section. The slug is never rewritten, so shortcodes already placed on a page keep working when a heading is renamed.
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": {
"site": "<site>",
"doc": "<doc>",
"slug": "<slug>"
},
"name": "legal_update_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Document type | |
| body | No | ||
| site | Yes | Site id (see list_sites) | |
| slug | Yes | Section slug | |
| level | No | ||
| heading | No |