> ## 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.

# NameSearch

> Generated from the Macro Rust tool registry.

# NameSearch

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']      |
| `name`        | string | Yes      | The name or title to search for. For emails, this is the subject line. For channels, this can be the channel name or participant names. |
