search
Find files in a workspace using full-text search, tag filtering, or partial name matching. Narrow results to a specific library for precise retrieval.
Instructions
Find files in a workspace when you don't know their exact ID. Pick a mode: "text" runs a full-text search over file contents and titles; "tags" returns files carrying ALL of the given tagIds (AND logic); "files" matches by partial file name/title. Reach for search before get when you only know roughly what you want; use list with type=files instead when you just need everything in a library. Optionally narrow to one library with libraryId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | text: full-text search; tags: find files matching ALL specified tags (AND logic); files: find files by partial name/title match | |
| limit | No | ||
| query | No | Search query (mode=text or mode=files) | |
| offset | No | ||
| tagIds | No | Tag IDs to match (mode=tags) | |
| libraryId | No | Limit search to a specific library | |
| workspaceId | No |