search_sources_near_position
Find existing or nearby sources within a radius of a sky position, using RA/Dec or a source ID to resolve coordinates.
Instructions
Search for sources in SkyPortal near a position (cone search).
Finds all sources within a specified radius of a sky position. Useful for checking if a source already exists in SkyPortal at a given location, or finding nearby sources.
Provide either ra/dec coordinates or a source_id to auto-resolve coordinates.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_sources_near_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ra | No | Right ascension in decimal degrees (J2000). Not needed if source_id is provided. | |
| dec | No | Declination in decimal degrees (J2000). Not needed if source_id is provided. | |
| source_id | No | SkyPortal source ID (e.g., "ZTF21aaaaaaa"). RA/Dec will be looked up automatically. Requires authentication. | |
| num_per_page | No | Maximum number of sources to return (default: 100) | |
| radius_arcsec | No | Search radius in arcseconds (default: 10.0) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |