Jpl Horizons Tools¶
Configuration File: jpl_horizons_tools.json
Tool Type: Local
Tools Count: 2
This page contains all tools defined in the jpl_horizons_tools.json configuration file.
Available Tools¶
JPLHorizons_get_body_data (Type: BaseRESTTool)¶
Get physical and orbital data for a solar system body from the JPL Horizons system. Returns mass,…
JPLHorizons_get_body_data tool specification
Tool Information:
Name:
JPLHorizons_get_body_dataType:
BaseRESTToolDescription: Get physical and orbital data for a solar system body from the JPL Horizons system. Returns mass, radius, density, rotation period, orbital elements, albedo, and other physical properties. This is the authoritative source for solar system body parameters. COMMAND values: major planets use 3-digit codes (199=Mercury, 299=Venus, 399=Earth, 499=Mars, 599=Jupiter, 699=Saturn, 799=Uranus, 899=Neptune), moons add parent body (301=Moon, 401=Phobos), asteroids use number (1=Ceres, 433=Eros). Use JPLHorizons_lookup_object to find the COMMAND code.
Parameters:
COMMAND(string) (required) JPL Horizons body ID. Planets: ‘199’ (Mercury), ‘299’ (Venus), ‘399’ (Earth), ‘499’ (Mars), ‘599’ (Jupiter), ‘699’ (Saturn), ‘799’ (Uranus), ‘899’ (Neptune). Moon: ‘301’. Pluto: ‘999’. Ceres: ‘1’. Asteroids by number. Use JPLHorizons_lookup_object to find IDs.
Example Usage:
query = {
"name": "JPLHorizons_get_body_data",
"arguments": {
"COMMAND": "example_value"
}
}
result = tu.run(query)
JPLHorizons_lookup_object (Type: BaseRESTTool)¶
Search for solar system objects in the JPL Horizons database by name, partial name, or designatio…
JPLHorizons_lookup_object tool specification
Tool Information:
Name:
JPLHorizons_lookup_objectType:
BaseRESTToolDescription: Search for solar system objects in the JPL Horizons database by name, partial name, or designation. Returns a list of matching objects with their SPK IDs (used for ephemeris queries), object type (planet, asteroid, comet, spacecraft, satellite), and alternate names/designations. The SPK ID is needed to query ephemerides. Examples: ‘Mars’ returns planets, spacecraft, and missions; ‘2020 SO’ returns near-Earth objects; ‘Ceres’ returns the dwarf planet.
Parameters:
sstr(string) (required) Object name or partial name to search. Examples: ‘Mars’, ‘Jupiter’, ‘Ceres’, ‘Halley’, ‘1P’ (Halley’s Comet designation), ‘Apophis’, ‘Voyager’, ‘Cassini’
Example Usage:
query = {
"name": "JPLHorizons_lookup_object",
"arguments": {
"sstr": "example_value"
}
}
result = tu.run(query)