perseus_list
List directory contents or structured data to discover files. Supports sorting by name, modified time, or size. Read-only.
Instructions
List directory contents or structured data. Use to discover files before reading with perseus_read. Supports sorting by name, modified time, or size. Read-only; for hierarchical view, prefer perseus_tree.
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": {
"path": "<path>"
},
"name": "perseus_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory path to list (default: workspace root) | |
| sort | No | Value for sort parameter | |
| limit | No | Value for limit parameter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| entries | No |