list_directory
List allowed files and folders in a workspace directory, using cursor-based pagination to fetch up to 200 entries for browsing accessible local content.
Instructions
List 1-200 permitted entries at a workspace-relative directory. Follow next_cursor; changed content invalidates pagination.
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": {
"workspace": "<workspace>"
},
"name": "list_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| limit | No | ||
| cursor | No | ||
| workspace | Yes |