调整字体排版
xiumi_set_typographyAdjust font size, line spacing, letter spacing, and text color for body paragraphs or all text to unify article typography.
Instructions
批量调整正文(或全部文本)的字号、行距、字距和颜色,用于统一全文排版。scope=body 只改长段落,scope=all 改包括标题在内的所有文本槽。
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": "xiumi_set_typography"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | 文字颜色,如 #333333 | |
| scope | No | body 仅正文段落(默认),all 全部文本 | |
| minChars | No | body 模式下视为正文的最少字符数,默认 25 | |
| lineHeight | No | 行距倍数,如 1.9 | |
| fontSizePercent | No | 字号,百分比(100 = 16px) | |
| letterSpacingPx | No | 字距,单位 px,如 1 |