convert_frame
Convert celestial coordinates between ICRS, FK5, FK4, and Galactic reference frames using validated astropy transforms.
Instructions
Transform coordinates between reference frames (ICRS, FK5, FK4, Galactic).
Uses astropy's tested transforms, never hand-rolled trigonometry. Returns the position in the target frame with the frame explicitly labeled.
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": {
"ra_deg": "<ra_deg>",
"dec_deg": "<dec_deg>"
},
"name": "convert_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ra_deg | Yes | ||
| dec_deg | Yes | ||
| to_frame | No | galactic | |
| from_frame | No | icrs |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lon | Yes | ||
| epoch | No | ||
| frame | No | icrs |