byte_convert
Convert numeric values between byte units (B, KB, MB, GB, TB, PB) using binary (1024) or SI (1000) standards.
Instructions
Convert between byte units (B, KB, MB, GB, TB, PB). Supports both binary (1024) and SI (1000) standards.
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>",
"from_unit": "<from_unit>"
},
"name": "byte_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The numeric value to convert | |
| from_unit | Yes | Source unit | |
| binary | No | Use binary (1024) instead of SI (1000) standard (default: true) |