encode_url
Encode strings for safe use in URLs by converting special characters to percent-encoded format. Specify component type for path, query, or full URL encoding.
Instructions
Encode string for URL (URL encoding)
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>"
},
"name": "encode_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | String to encode | |
| component | No | Component type (default: full) |