> ## Documentation Index
> Fetch the complete documentation index at: https://docs.macro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ContentSearch

> Generated from the Macro Rust tool registry.

# ContentSearch

Generated from the Macro Rust tool registry.

## Parameters

| Parameter     | Type   | Required | Description                                                                                                                        |
| ------------- | ------ | -------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| `entityTypes` | array  | Yes      | Which types of items to search. Leave empty to search all types. Examples: \['documents'], \['emails', 'documents'], \['channels'] |
| `query`       | string | Yes      | The text content to search for. This searches within the body of documents, emails, and messages.                                  |
