text_pinyin
Convert Chinese characters to pinyin, selecting between standard pinyin, tone-marked pinyin, or initials. Specify a separator for customized output.
Instructions
汉字转拼音。output=pinyin 返回拼音;tone 带声调;initial 仅声母/首字母
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": "text_pinyin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| output | No | pinyin | |
| separator | No | 拼音之间的分隔符 |