url_encode
Encode or decode URL strings with optional action parameter. Automatically handles text to make it safe for URL use.
Instructions
URL encode or decode a string
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": "url_encode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to encode or decode | |
| action | No | Action: encode or decode (default: encode) |