汉字转拼音
pinyinConvert Chinese text to Pinyin by generating full spellings or initials. This tool automatically handles common polyphones and allows switching between tone symbols, numeric tones, or none.
Instructions
把中文转换为拼音(带声调/数字声调/无声调)或首字母,自动处理常见多音字
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": "pinyin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | full=全拼 initial=首字母 | |
| text | Yes | ||
| tone | No | symbol=带声调 num=数字声调 none=无声调,默认 symbol |