encode_escape
Encode or decode text using JavaScript escape style with %XX for ASCII and %uXXXX for Unicode. Specify action encode to escape special characters or decode to revert escaped strings.
Instructions
Escape 编码/解码(JS escape 风格:%XX / %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_escape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| action | No | encode |