list_files_in_media_source
List files and folders at a specific path within a media source, one page at a time. Returns names, urls, mimeTypes, and whether each entry is a folder. Use path "/" for root level. Entries are paged folders-first under a single cursor: at most 100 per call by default (500 max), and when "hasMore" is true you call again with the returned "nextOffset". "totalFolders"/"totalFiles" always report the full counts at the path. Use this to browse the folder structure of a media source.
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": {
"documentId": "<documentId>",
"variable": "<variable>",
"path": "<path>",
"llm_model": "<llm_model>"
},
"name": "list_files_in_media_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The folder path to list (e.g. "/" for root, "/products/" for a subfolder). Must start and end with "/". | |
| limit | No | Maximum entrys to return (default 100, hard max 500) | |
| offset | No | 0-based index of the first entry to return (default 0) | |
| variable | Yes | The variable name of the media source (e.g. "cupboards") | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| documentId | Yes | The catalogue's id. Call list_documents first if you do not have one. | |
| conversation_id | No | Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request. |