chieflab_redraft
USE WHEN the user says 'make this more casual' / 'shorter' / 'less salesy' / 'add a specific number' / 'redraft this' about a published draft. Pulls the existing brief for the actionId, merges the instruction, returns an updated brief your LLM should render. After rendering call chieflab_record_rendered_copy({ assetId, body }) to commit. Multi-turn flow stays coherent: each redraft increments action.metadata.revision; original brief preserved in metadata.history.
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": {
"actionId": "<actionId>",
"instruction": "<instruction>"
},
"name": "chieflab_redraft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional. If your LLM already rendered the redrafted body, pass it here and ChiefLab updates the action's brief directly. | |
| actionId | Yes | The publishAction.id from chiefmo_launch_product. | |
| instruction | Yes | Plain-English instruction. 'shorter', 'more casual', 'add the $40 number from our pricing page', etc. | |
| workspaceId | No |