encode_url
Encode or decode URL components, converting Chinese and special characters to percent-encoded (%XX) format for safe use in URLs.
Instructions
URL 编码/解码(encodeURIComponent 风格,中文与特殊字符转 %XX)
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_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| action | No | encode |