encode_decode_url
Encode text into RFC 3986-compliant URL format for safe use in URLs and query strings, or decode percent-encoded strings back to readable text.
Instructions
URL-encode or decode a string. RFC 3986 compliant encoding for URLs and query strings.
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": {
"input": "<input>",
"action": "<action>"
},
"name": "encode_decode_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Text to encode or URL-encoded string to decode | |
| action | Yes | "encode" or "decode" |