Enhance Content
enhance_contentProduce an AI-improved version of a document's text for a chosen goal: grammar, style, clarity, expand, summarize, or creative rewrite. Review before saving.
Instructions
Produce an AI-improved version of a document's text for a chosen goal (fix grammar, refine style, improve clarity, expand, summarize, or rework creatively) and return the suggested rewrite. This does NOT modify the document; review the result and call write_document to save it. Use analyze_document for a critique instead of a rewrite, or generate_content to create new text from a prompt. Calls an external AI model. Requires an open project.
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": {
"documentId": "<documentId>",
"enhancementType": "<enhancementType>"
},
"name": "enhance_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | Optional enhancement parameters passed through to the enhancer. | |
| documentId | Yes | Scrivener document UUID, as returned by get_structure (a binder item "id"). | |
| enhancementType | Yes | The improvement goal: "grammar" fixes errors, "style" refines voice, "clarity" simplifies, "expand" lengthens, "summarize" condenses, "creative" reworks freely. |