List files
list_filesList files and folders in a space or in one folder of it (id | name | file/folder | size | updated).
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": {
"spaceType": "<spaceType>"
},
"name": "list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spaceId | No | Project id or chat id; not needed for private | |
| folderId | No | Folder id to list; default the top level | |
| spaceType | Yes | private = your own files, project = files of a project, chat = files of a chat |