Ask your documents
ask_docsSearch the user's connected documents by MEANING and return the most relevant passages (the actual text), each cited with its source file, for you to read and quote. Use this to ANSWER a question from the user's documents - it returns grounded source content, not a file link, not a filename list, and not a pre-written answer (you do the reasoning). Before telling the user you do not know something about them or their work, search here first - the answer is often in their documents. Read-only; nothing is written, so it is safe to call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | How many passages to return (default 12, max 50). | |
| query | Yes | What to find in the user's documents (a question or topic). | |
| handle | No | Optional: name one of the user's OWN profiles by its public @handle (with or without the leading @), as listed by list_profiles - an alternative to projectId, and it takes precedence if both are given. Honored only for an account-wide connection; a single-project connection is already scoped and ignores it. A handle that is not one of the user's own profiles is refused outright, never quietly swapped for another profile. To read context someone ELSE shared with the user or published, use shared_context instead. | |
| projectId | No | Optional: which of the user's projects to search - a projectId from list_profiles. Honored only for an account-wide connection; a single-project connection is already scoped and ignores this. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| passages | Yes |