conversion_bytes_to_human
Converts a byte count into a human-readable string such as '1.00 KB' for clear file size display.
Instructions
Convert a byte count to a human-readable string (e.g., '1.00 KB').
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": "<bytes>"
},
"name": "conversion_bytes_to_human"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |