encode_unicode
Convert characters to Unicode \uXXXX notation or decode Unicode escapes back to readable text. Use encode for character-to-Unicode, decode for Unicode-to-character.
Instructions
Unicode(\uXXXX)与字符互转。encode=中文/字符转 \uXXXX 形式;decode=\uXXXX 还原为字符
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": "encode_unicode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| action | No | encode |