fix_text
Fixes formatting issues in Chinese text and returns the corrected version, preserving code and URLs while listing changes and items needing manual review.
Instructions
自动修复中文文案的排版问题,返回修复后的全文。
默认只套用「安全」规则(不会动代码块、行内代码、URL),
并会告诉你改了哪些地方、还有哪些需要人工确认。
Args:
text: 要修复的文本。
rules: 只跑指定规则,逗号分隔;用 "-" 前缀排除。点名某条平时不自动跑的
规则(例如 "dup-punct")时它也会被套用。
quote_style: 引号风格——curly(默认,“”)/ corner(「」)/ keep(不动)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| rules | No | ||
| quote_style | No | curly |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |