URL Encode
dev_url_encodeURL-encode a string by escaping special characters. Use when building query parameters, form data, or safe URLs that contain reserved characters.
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": "dev_url_encode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | String to encode | |
| component | No | Use encodeURIComponent (true) or encodeURI (false) |