Search
Search everything at once.
costcrunch 0.1.0
cost search all <query>
Search documents, suppliers, projects, materials and line items in one go.
A good first call when you don't know which kind of thing the user means; each result has a `type` and `id` to follow up with the matching `get` operation.
- Command line
cost search all <query>- MCP tool
search_all- Python
cc.search.all()
| Parameter | Type | Description |
|---|---|---|
queryrequired | string | What to look for. |
types--types | string | Only these result types (comma-separate several). One of: document, supplier, project, material, item_type, category, product_family |
semantic--semantic | boolean | Also match by meaning, not just words. Default: false |
limit--limit | integer | Max results (1-100). Default: 20 |
offset--offset | integer | Skip this many (paging). Default: 0 |