Draft copy for a page
sweipe_brief_generateGenerates rewritten text drafts for a page or site identity from a business brief, preserving the existing layout. Stores drafts for review without changing the live site until applied.
Instructions
Rewrite every text on one page (or the site identity, post_id 0) for the business in the brief, keeping the layout. Returns the draft rows (id, widget, old, new) and stores them; nothing changes on the site until sweipe_brief_apply. 1 credit per page.
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": {
"post_id": "<post_id>",
"brief": "<brief>"
},
"name": "sweipe_brief_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brief | Yes | ||
| post_id | Yes | Page or post id from sweipe_brief_pages; 0 for site title, tagline and menus. | |
| language | No |