Rewrite script
rewrite_scriptValidate or save complete script content produced from get_script_rewrite_context by the LLM in this MCP session. Paragraphs may be added, removed, moved, merged or rewritten. Keep every protected token exactly once and in relative order; keyframe labels explain where their tokens belong. Existing slide narration and on-screen text may change; slide structure is read-only and belongs to the slide tools.
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": {
"projectUid": "<projectUid>",
"content": "<content>"
},
"name": "rewrite_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | When true, validate and return the normalized preview without writing anything. | |
| content | Yes | The complete rewritten content, including all protected tokens. | |
| projectUid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changed | Yes | ||
| preview | No |