convert_data
Convert data between JSON, base64, and hex formats to transform information for different applications and systems.
Instructions
Convert data in different formats.
Args:
data: data to convert
from_format: source format (json, base64, hex)
to_format: destination format (json, base64, hex)
Returns:
Converted 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>",
"from_format": "<from_format>",
"to_format": "<to_format>"
},
"name": "convert_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| from_format | Yes | ||
| to_format | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||