set_paragraph_formats
Apply alignment, spacing, and indentation to multiple paragraphs in a single open/save cycle. Specify paragraph indices and formatting options in groups.
Instructions
Apply alignment, spacing, and indentation to one or more paragraphs in a single open/save cycle. Each group bundles a list of paragraph indices with the formatting to apply to them.
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>",
"groups": "<groups>"
},
"name": "set_paragraph_formats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the .docx file | |
| groups | Yes | Array of formatting groups, each with indices and format options |