wps_word_apply_style
Apply a specified style like 'Heading 1' or 'Normal' to selected text or the entire document in WPS Office, resolving inconsistent formatting.
Instructions
给目标文本套用样式,如 "标题 1"、"正文"。
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": "wps_word_apply_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | 作用范围,默认 selection | |
| style_name | Yes | 样式名,如 "标题 1" |