Search Entities
search_entitiesFind Drupal entities by matching substrings in titles, names, emails, and filenames, with results grouped by entity type.
Instructions
Case-insensitive substring search across entity titles and names.
Scans node titles, user names and emails, taxonomy term names, comment subjects, media names, and file names with one read-only LIKE query per type, returning matches grouped by entity type.
Pass entity_types (e.g. ["node", "taxonomy_term"]) to search
fewer tables: a LIKE scan reads every row, so keep it narrow on
large sites. This does not search node bodies -- for full text use
the site's own search or the search_api tools.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| entity_types | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||