URL decode
url_decodeDecode percent-encoded URL text using component or full mode, optionally converting plus signs to spaces for form data. Use it to read encoded query values, paths, or whole URLs and surface errors on malformed %-sequences.
Instructions
Decode percent-encoded text (decodeURIComponent, or decodeURI with mode "full"). Optionally turn "+" into spaces (form encoding). Errors on malformed %-sequences. Web version: https://s3eidat.github.io/url-toolkit/
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_decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "component" = encodeURIComponent (for one query value or path segment; escapes / ? & = #). "full" = encodeURI (a whole URL; keeps those). | component |
| text | Yes | Percent-encoded text. | |
| plusAsSpace | No | Treat "+" as a space (application/x-www-form-urlencoded). |