legal_put_document
Replace a WordPress site's legal document by providing its type, title, and ordered sections; omitted section slugs are derived from headings.
Instructions
Replace a legal document. Sections are ordered; omit slug to derive it from the heading. The plugin ships no legal prose - it stores and renders what it is given.
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>",
"title": "<title>",
"sections": "<sections>"
},
"name": "legal_put_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Document type | |
| site | Yes | Site id (see list_sites) | |
| title | Yes | Document title, rendered as the H1 | |
| sections | Yes | Ordered sections |