fullwidth_convert
Converts full-width letters, numbers, and symbols to half-width or back, with an option to include Chinese-specific punctuation, fixing text that breaks search, matching, or data entry.
Instructions
全角与半角互相转换,如 Hello123 -> Hello123。可选同时转换中文特有标点(。、《》【》“” 等),默认只转换全角字母、数字和符号。
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": {
"text": "<text>",
"to": "<to>"
},
"name": "fullwidth_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | 目标:halfwidth=转半角,fullwidth=转全角 | |
| text | Yes | 要转换的文本 | |
| punctuation | No | 是否同时转换中文特有标点,默认 false |