cn_number_parse
Converts Chinese numerals into Arabic digits, handling uppercase, traditional, year-style readings, and negatives. Returns a clear parse failure message when the input cannot be resolved.
Instructions
把中文数字转换成阿拉伯数字,如 三万五千零六 -> 35006。支持大写(壹贰叁)、繁体(萬億)、年份读法(二〇二六 -> 2026)和负数。无法解析时返回"无法解析"。
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>"
},
"name": "cn_number_parse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 中文数字,如 三万五千零六 |