wps_word_set_font
Change font name, size, bold, and italic formatting for selected text or the entire document in WPS Word.
Instructions
设置字体格式。range: selection=当前选中 / all=全文。bold/italic 传 true/false。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wps_word_set_font"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bold | No | 是否加粗 | |
| range | No | 作用范围,默认 selection | |
| italic | No | 是否斜体 | |
| font_name | No | 字体名,如 "宋体" | |
| font_size | No | 字号(磅),如 14 |