find_counterparts
Finds nearest ecological counterparts or convergent evolutionary analogs for a species or organism using 1024-dimensional cosine similarity, with optional limit and distance threshold.
Instructions
Find nearest ecological counterparts or convergent evolutionary analogs to a specified species or organism using 1024-dimensional pgvector cosine distance.
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": {
"entity_type": "<entity_type>",
"id": "<id>"
},
"name": "find_counterparts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the species or organism | |
| limit | No | Number of nearest neighbors to return (default: 10) | |
| threshold | No | Maximum cosine distance threshold | |
| entity_type | Yes | Entity type to find counterparts for: species or organism |