oc_payload_encode
Encodes text into base64, base64url, hex, URL, or form data for payload construction and safe transport in security testing.
Instructions
Encode text as base64, base64url, hex, URL, or form data.
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": {
"data": "<data>",
"encoding": "<encoding>"
},
"name": "oc_payload_encode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| encoding | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||