url-encoder
URL-encode or URL-decode a string. Uses RFC 3986 component encoding (encodeURIComponent semantics).
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": {
"mode": "<mode>",
"input": "<input>"
},
"name": "url-encoder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | encode: text → URL-encoded. decode: URL-encoded → text. | |
| input | Yes | Input string. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Mode used, echoed back. | |
| output | Yes | The encoded or decoded result. |