bytes_to_human
Convert bytes to human-readable format.
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": {
"bytes_val": "<bytes_val>"
},
"name": "bytes_to_human"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes_val | Yes | Size in bytes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| gigabytes | Yes | ||
| kilobytes | Yes | ||
| megabytes | Yes | ||
| human_readable | Yes |