apply_document_preset
Apply a named document style preset in one pass to set a document-wide baseline, replacing repeated paragraph-level formatting.
Instructions
Apply a named document style preset in one pass by updating styles.xml. Use this instead of repeated paragraph-level formatting when you want a document-wide baseline.
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": {
"file_path": "<file_path>",
"preset": "<preset>"
},
"name": "apply_document_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the .docx file | |
| preset | Yes | Preset name. 'ja-business' applies Yu Gothic body defaults plus roomier paragraph and heading spacing. |