List folder documents
get_indexWhen to use: list docs in one known folder (or unfiled). Not for folder tree (list_collections), not for keyword search across folders (search_docs), not for a workset id (get_workset). Table of contents for one folder: only docs with visible_to_agent=true (hidden cards do not appear even by title). Each row: id, effective title, short brief (prefers TL;DR; else ai_md → agent_summary → clean_md excerpt, ≤~400 chars), brief_source, ref (silvalabs:doc/…), and agent_runbook (true = needs permission link to execute). This is a light index — do NOT open every doc; if short brief answers the question, skip get_doc; otherwise pick 1–2 by brief, then get_doc. Pass collection as folder name (e.g. backend), UUID, silvalabs:folder//, or unfiled / '-' / «без папки» for cards without a folder (a real folder with the same name wins over the unfiled token — prefer UUID if unsure). Use ids (or ref) from this list in get_doc — never ask the user for ids. Paginate with cursor when next_cursor is present (≤50 per page).
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": {
"collection": "<collection>"
},
"name": "get_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Pagination cursor from previous next_cursor | |
| collection | Yes | Folder name, UUID, or silvalabs:folder/<uuid>/<name> |