data_size
Convert data sizes between bytes, KB, MB, GB, TB, PB using decimal (SI) or binary (IEC) units.
Instructions
[PRO — 3 trial uses left] Convert between data size units (bytes, KB, MB, GB, TB, PB) with both decimal (SI) and binary (IEC) representations
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": {
"value": "<value>"
},
"name": "data_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Source unit (default: B for bytes) | |
| value | Yes | Numeric value to convert |