batch_format_paragraphs
Apply a named style to a range of paragraphs in a document. Specify start and end indices to format multiple paragraphs at once.
Instructions
Apply a style to a range of paragraphs.
Args: style_name: Name of the style to apply (e.g., 'Normal', 'Heading 1') start_index: Starting paragraph index (default 0) end_index: Ending paragraph index (exclusive, default all remaining)
Returns: Success message with count or error message
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": {
"style_name": "<style_name>"
},
"name": "batch_format_paragraphs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_index | No | ||
| style_name | Yes | ||
| start_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |