convert_state
Convert a 6-element state vector between coordinate frames including KOE, ECI, ECEF, GCRF, ITRF, and EME2000. Supports angular formats and epoch specification.
Instructions
Convert a 6-element state vector between coordinate frames.
Supported conversions: KOE<->ECI, ECI<->ECEF (requires epoch), GCRF<->ITRF (requires epoch), GCRF<->EME2000.
Args: vector: 6-element state vector [x,y,z,vx,vy,vz] or [a,e,i,RAAN,omega,M]. from_frame: Source frame (ECI, KOE, ECEF, GCRF, ITRF, EME2000). to_frame: Target frame (same set). angle_format: "degrees" (default) or "radians" for KOE 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_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| epoch | No | ||
| vector | Yes | ||
| to_frame | Yes | ||
| from_frame | Yes | ||
| angle_format | No | degrees |