Search Tools¶
The search_content tool searches Huddo content by words. It's in the search tool group and needs Huddo Search.
search_content¶
Searches the content the user can read: wiki pages and templates, ideas and labs, comments and files. Results can be narrowed by app, type, label, creator or container (a wiki, a page and the pages under it, or a lab).
Read-only · Needs: Search
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
query |
string | Yes | The words to search for, 1 to 1,000 characters | |
apps |
array of strings | No | Up to 10 apps, such as wikis or ideas |
|
types |
array of strings | No | Up to 10 of page, wiki, template, playbook, definition, export, lab, idea, message and file |
|
labels |
array of strings | No | Up to 10 labels | |
creatorIds |
array of user ids | No | Up to 10 people who created the content | |
containerId |
string | No | A wiki, page or lab id, to search only inside it | |
sort |
string | No | relevance |
relevance or updated |
withFacets |
boolean | No | false | Also return counts by app, type, label and creator |
limit |
integer | No | 10 | 1 to 50 |
page |
integer | No | 0 | The page of results, starting at 0 |
Returns: total, page and results, each with title, app, type, breadcrumb, a short excerpt with the matching words in bold, url, labels, creatorId and updatedAt. With withFacets, also facets: the top 10 counts by app, type, label and creator.
Example: "Search our wikis for anything about the VPN setup."