List knowledge documents
list_knowledge_documentsList the workspace's knowledge documents (articles, snippets, web pages, products, macros, transcripts) with their ids, titles, source ids, kinds, status, excerpts and links: newest first, or best match first with q. Read one in full with get_knowledge_document; to answer a question, search_knowledge ranks passages instead.
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_knowledge_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Words to match in the title or text. | |
| kind | No | Only documents of this kind. | |
| page | No | Page number, 1 to 500; `metadata.hasMore` says whether another page follows. | |
| status | No | Only documents with this status; drafts and archived documents are not used in answers. | |
| perPage | No | Documents per page (at most 200). | |
| starred | No | Only starred (true) or unstarred (false) documents. | |
| sourceId | No | Only documents of this knowledge source (an id from list_knowledge_sources). | |
| collectionId | No | Only documents in this collection (an id from list_knowledge_collections). |