List Workspace Files
list_filesList files in a workspace file library, filtering by mime category (image or document) and searching by name. Returns id, name, mimeType, size, and URL.
Instructions
List files uploaded to the workspace's file library. Filter by mime category and/or name search. Returns id, name, mimeType, size, url.
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": {
"workspaceId": "<workspaceId>"
},
"name": "list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes | Workspace ID | |
| mimeFilter | No | image = only images, document = everything else | |
| search | No | Substring match on file name | |
| cursor | No | Pagination cursor (file ID returned in previous page) | |
| limit | No | Page size (default 20, max 100) |