List an Allowed Whatbox Directory
whatbox_list_directoryList directory contents within an approved Whatbox storage root. Rejects absolute paths and path escapes for secure browsing.
Instructions
List a directory below an explicitly allowed Whatbox storage root. Absolute paths and path escapes are rejected.
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": "whatbox_list_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| rootIndex | No | ||
| relativePath | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes | ||
| rootIndex | Yes | ||
| truncated | Yes | ||
| relativePath | Yes |