find_folder_in_media_source
Search for folders by name (case-insensitive partial match) within a media source. Returns matching folders with their paths, one page at a time: at most 100 matches per call by default (500 max), with "totalMatches" reporting the full count and "nextOffset" continuing when "hasMore" is true. Use this when you need to locate a specific 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": {
"documentId": "<documentId>",
"variable": "<variable>",
"query": "<query>",
"llm_model": "<llm_model>"
},
"name": "find_folder_in_media_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum matchs to return (default 100, hard max 500) | |
| query | Yes | The search term to match against folder names (partial, case-insensitive) | |
| offset | No | 0-based index of the first match to return (default 0) | |
| variable | Yes | The variable name of the media source | |
| 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. |