List files and folders
listLists files and folders in the knowledge base. Scope to a subtree with folderPath; narrow with type (category), search (name/title/description substring), or listType ('file' or 'folder').
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": {
"context": "<context>"
},
"name": "list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Only entries of this category — the caller-chosen slug set on upsert, not a mime type or extension. | |
| depth | No | How many folder levels below folderPath to include. Omit for the full subtree. | |
| search | No | Case-insensitive substring match across name, title, and description — a simple filter, not full-text/semantic search (use the search tool for that). | |
| context | Yes | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization." | |
| listType | No | Restrict the listing to just files or just folders. Omit to return both. | |
| folderPath | No | Folder subtree to scope to, e.g. '/docs'. Omit for the whole knowledge base. | |
| workspace_id | No | Which workspace to act in - a workspace id (whoami returns the id of your default workspace). Omit to use your default workspace. |