disk_usage
Reports the size of each immediate child of a directory, largest first, to show what is consuming disk space.
Instructions
Size of each immediate child of a directory (like du -d1), largest first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "disk_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ~ | |
| top_n | No |