url_encode
Percent-encode or decode URL components to safely handle special characters in links, query strings, and API requests.
Instructions
Percent-encode or decode a URL component.
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>",
"operation": "<operation>"
},
"name": "url_encode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| operation | Yes |