Trajectory of one body over a date range
get_trajectorySample one spacecraft’s or planet’s coordinates over a time range as a table to plot orbits, track solar distance, and find closest and farthest points.
Instructions
Get one spacecraft's or planet's coordinates sampled over a time range, as a table: distance from the Sun, Stonyhurst and Carrington coordinates, HEE vector, angle and distance from Earth, light time and Parker-spiral footpoint at each step, with the closest and farthest points.
Use for time series, orbit plots, perihelion passes and "how does X change over this period" questions. For one moment use get_position; for every body at one moment use get_fleet_state; for the times a configuration holds use find_alignments. Samples outside the body's ephemeris keep their time and status with null coordinates.
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": {
"body": "<body>"
},
"name": "get_trajectory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End of the range (UTC); default 30 days after start. | |
| body | Yes | Body key or name: earth, sdo, soho, aditya, ace, wind, dscovr, imap, swfo, cgo, solo, psp, bepi, sta, stb, maven, messenger, vex, juno, rosetta, juice, clipper, psyche, mercury, venus, mars; names such as 'Parker' or 'Solar Orbiter' also work. | |
| start | No | UTC time: ISO 8601 (2026-11-19T12:00Z), a date (2026-11-19), 'now', or a Julian date. Data cover 2010 to about 2030. | now |
| step_hours | No | Sampling step in hours (default 24). At most 2000 samples per call; use 1-6 h for Parker near perihelion. | |
| solar_wind_km_s | No | Solar-wind speed in km/s for the Parker-spiral footpoint longitude (typical 300-800). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||