encode_ascii
Convert characters to ASCII decimal or hexadecimal codes, or decode numeric codes back to characters.
Instructions
ASCII 编码/解码。encode=字符转十进制与十六进制码;decode=码值转字符(支持 10 进制或 0x 前缀 16 进制)
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_ascii"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| action | No | encode | |
| format | No | encode 时的输出格式 | dec |