convert_position
Convert a 3D position vector between coordinate frames including GEODETIC, ECEF, GEOCENTRIC, ECI, GCRF, ITRF, and EME2000. Supports epoch for time-dependent conversions.
Instructions
Convert a 3-element position vector between coordinate frames.
Supported conversions: GEODETIC<->ECEF, GEOCENTRIC<->ECEF, GEODETIC<->GEOCENTRIC, ECI<->ECEF (requires epoch), GCRF<->ITRF (requires epoch), GCRF<->EME2000.
Args: vector: 3-element position vector [x, y, z] or [lon, lat, alt] etc. from_frame: Source frame (ECEF, GEODETIC, GEOCENTRIC, ECI, GCRF, ITRF, EME2000). to_frame: Target frame (same set). angle_format: "degrees" (default) or "radians" for geodetic/geocentric angles. epoch: ISO epoch string, required for ECI<->ECEF and GCRF<->ITRF.
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": {
"vector": "<vector>",
"from_frame": "<from_frame>",
"to_frame": "<to_frame>"
},
"name": "convert_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| epoch | No | ||
| vector | Yes | ||
| to_frame | Yes | ||
| from_frame | Yes | ||
| angle_format | No | degrees |