find_counterparts
Finds nearest astrophysical counterparts for a star system or celestial body using 1024-dimensional vector cosine distance, with optional filters by star system or cosmic structure.
Instructions
Find nearest astrophysical counterparts to a specified star system or celestial body 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 star system or celestial body | |
| limit | No | Number of nearest neighbors to return (default: 10) | |
| entity_type | Yes | Entity type to find counterparts for: star_system or celestial_body | |
| star_system_id | No | Optional star system ID to filter counterpart candidates (for celestial body counterparts) | |
| include_embedding | No | Whether to include raw 1024-float vector embeddings in results | |
| cosmic_structure_id | No | Optional cosmic structure (galaxy/cluster) ID to filter counterpart candidates |