search_entities
Identify relevant entities across diseases, drugs, targets, variants, and studies. Returns up to 3 matches per query with ID and type, and supports multiple queries in one call.
Instructions
Search for entities across multiple types using the Open Targets Platform search API.
This tool performs a streamlined entity search that returns the id and entity type for up to 3 matching entities across targets, diseases, drugs, variants, and studies.
Supports multiple query strings in a single call - each query is executed independently and results are returned in a dictionary keyed by the query string.
Args: query_strings (list[str]): List of search queries. (examples: ['BRCA1', 'aspirin'])
Returns: (dict[str, list[SearchEntitiesFoundEntity]]): Top 3 hits for each query string, with entity ID and type.
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_strings": "<query_strings>"
},
"name": "search_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_strings | Yes | List of search queries. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||