list_files
List allowed files and directories under a workspace-relative path, returning bounded, paginated results for safe read-only inspection during plan and review workflows.
Instructions
List allowed files and directories under a workspace-relative path. Results are bounded and paginated.
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": "list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| limit | No | ||
| cursor | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| entries | Yes | ||
| hasMore | Yes | ||
| nextCursor | No |