List media
list_mediaList media files and images in a Cmssy workspace, newest first, with cursor or offset pagination to browse large libraries page by page.
Instructions
List media files (images and files) in the workspace, newest first. Paginated: while hasMore is true, pass nextCursor back as cursor while it is set; if hasMore is true but nextCursor is null, page with the offset instead, and past offset 10000 narrow the filter.
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_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | nextCursor from the previous page. The page continues after it in the same filter and sort; leave the skip/offset at 0 when you pass it | |
| offset | No | How many rows to skip, at most 10000; page past that with cursor |