URL Encode / Decode
url_encodePercent-encode or decode text for use in URLs. Component scope escapes a single query/path piece (encodeURIComponent); full scope preserves URL delimiters (encodeURI).
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>",
"mode": "<mode>"
},
"name": "url_encode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Whether to percent-encode the text or decode it. | |
| text | Yes | Text to encode, or a percent-encoded string to decode. | |
| scope | No | Component: a single query/path piece (escapes &=/?#). Full: a whole URL (keeps delimiters). Defaults to component. | component |