apply_style_to_range
Apply a specified style to multiple paragraphs identified by their paraIds, returning the count and style applied.
Instructions
Apply a style to a list of paragraphs by their paraIds.
Args: para_ids: List of paragraph paraIds to update. style_name_or_id: Style name or styleId to apply.
Returns: {"applied": int, "style_id": str, "para_ids": list[str]}
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": {
"para_ids": "<para_ids>",
"style_name_or_id": "<style_name_or_id>"
},
"name": "apply_style_to_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| para_ids | Yes | ||
| style_name_or_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |