Search Documents by Title
search_docsSearch documents by title across workspace metadata. Returns docId, title, and direct URL for each matching document.
Instructions
Fast search for documents by title using workspace metadata. Much faster than exporting each doc. Returns docId, title, and direct URL for each match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No | Workspace ID (optional if default set). | |
| query | Yes | Search query — matched case-insensitively against doc titles. | |
| limit | No | Max results to return (default: 20). | |
| matchMode | No | How to match titles (default: substring). | |
| tag | No | Optional tag filter (case-insensitive substring match against resolved tag names). | |
| sortBy | No | Sort by match relevance (default) or by updatedAt. | |
| sortDirection | No | Sort direction for updatedAt sorting (default: desc). |