legal_add_section
Append a section to a legal document in WordPress and return the resolved slug for shortcode addressing.
Instructions
Append a section to a legal document. Returns the resolved slug, which is what shortcodes address.
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>",
"heading": "<heading>",
"body": "<body>"
},
"name": "legal_add_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Document type | |
| body | Yes | HTML body | |
| site | Yes | Site id (see list_sites) | |
| slug | No | ||
| level | No | 2 or 3, default 2 | |
| heading | Yes |