format_format_bytes
Format byte counts into human-readable strings (e.g., 1234567 to '1.2 MB'). Supports binary mode for KiB/MiB and customizable decimals.
Instructions
[format] Format a byte count: 1234567 → '1.2 MB'. binary=true for KiB/MiB.
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": "format_format_bytes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| decimals | No | ||
| binary | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |