pipeshub_search
Search indexed documents semantically to locate files by name, topic, or phrase, returning ranked records with IDs and links for retrieval.
Instructions
Vector / semantic search across the org's indexed documents.
Use this when the user wants to LOCATE a document — by name, topic,
or a phrase to grep for — and to resolve it to a recordId. For
open-ended questions across many documents, use pipeshub_chat
instead, which does the retrieval internally and grounds the answer in
citations.
Typical uses:
Resolve a doc name / topic into a
recordIdforpipeshub_get_record_content— step 1 of any full-document task (summarize, extract, review, "what does the doc say?").Resolve a filename / phrase into a
recordIdforpipeshub_download_record.Show the user a ranked list of matching files when they ask "find / search for X".
Not for structural questions — what is under this epic, which pages are
in this space, what links to this ticket. Ranking by content cannot show
how records relate; use pipeshub_get_record_content mode:"navigate".
A ranked sample, never a complete list. Hits are the top-scoring blocks from the best-matching records — not all blocks of any record, and not every record that matches. Never count them to answer "how many" / "all" / "every"; navigate the record group instead, which reports its real total.
The response is trimmed to one row per hit:
{ recordId, recordName, score, snippet, mimeType, webUrl, ... }.
Highest score first; multiple hits may share the same recordId
(different blocks of the same record).
When presenting results to the user, link each record using its
webUrl (when present).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apps | No | Source-scoping ids — connector instance UUIDs and / or `knowledgeBase_<orgId>`. Get them from `pipeshub_sources`. | |
| limit | No | Max number of result chunks. Default 10. Use a small value (5–10) when the goal is to resolve a filename / topic into a recordId. | |
| query | Yes | Natural language query. Vector search across the org's indexed records. |