Nasa Exoplanet Tools

Configuration File: nasa_exoplanet_tools.json Tool Type: Local Tools Count: 2

This page contains all tools defined in the nasa_exoplanet_tools.json configuration file.

Available Tools

NASAExoplanet_query_planets (Type: BaseRESTTool)

Query the NASA Exoplanet Archive for confirmed exoplanets using SQL-like ADQL queries. Returns or…

NASAExoplanet_query_planets tool specification

Tool Information:

  • Name: NASAExoplanet_query_planets

  • Type: BaseRESTTool

  • Description: Query the NASA Exoplanet Archive for confirmed exoplanets using SQL-like ADQL queries. Returns orbital parameters, physical properties, and discovery information for 5,500+ confirmed exoplanets. Key table: ‘ps’ (Planetary Systems). Key columns: pl_name (planet name), hostname (host star), pl_orbper (orbital period days), pl_rade (radius in Earth radii), pl_bmasse (mass in Earth masses), pl_eqt (equilibrium temperature K), discoverymethod (transit/radial velocity/direct imaging/etc), disc_year (discovery year), sy_dist (distance in parsecs). Example hosts with multiple planets: TRAPPIST-1, Kepler-90, Kepler-11.

Parameters:

  • query (string) (required) ADQL/SQL query against the NASA Exoplanet Archive table ‘ps’. Note: LIMIT is not supported; use WHERE conditions to restrict results. Examples: “select pl_name,hostname,pl_orbper,pl_rade from ps where hostname = ‘TRAPPIST-1’”, “select pl_name,pl_rade,pl_eqt from ps where pl_rade < 1.6 AND pl_eqt between 200 and 350 order by pl_eqt”, “select discoverymethod,count(*) as n from ps group by discoverymethod order by n desc”

  • format ([‘string’, ‘null’]) (optional) Output format: ‘json’ (default), ‘csv’, ‘tsv’, ‘votable’

Example Usage:

query = {
    "name": "NASAExoplanet_query_planets",
    "arguments": {
        "query": "example_value"
    }
}
result = tu.run(query)

NASAExoplanet_query_stars (Type: BaseRESTTool)

Query the NASA Exoplanet Archive for stellar host properties using ADQL SQL. Use table ‘stellarho…

NASAExoplanet_query_stars tool specification

Tool Information:

  • Name: NASAExoplanet_query_stars

  • Type: BaseRESTTool

  • Description: Query the NASA Exoplanet Archive for stellar host properties using ADQL SQL. Use table ‘stellarhosts’ to get host star characteristics: st_spectype (spectral type), st_teff (effective temperature K), st_mass (solar masses), st_rad (solar radii), st_met (metallicity), st_age (Gyr), sy_pnum (number of planets), sy_dist (distance parsecs). Essential for understanding planetary system habitability, stellar evolution context, and comparing star properties. Can join with ‘ps’ table for combined star+planet data.

Parameters:

  • query (string) (required) ADQL/SQL query against NASA Exoplanet Archive. Use ‘stellarhosts’ table for stellar data. Note: LIMIT is not supported; use WHERE conditions to restrict results. Examples: “select hostname,st_spectype,st_teff,st_mass,st_rad,sy_pnum from stellarhosts where hostname = ‘TRAPPIST-1’”, “select hostname,st_teff,sy_pnum from stellarhosts where sy_pnum >= 5 order by sy_pnum desc”

Example Usage:

query = {
    "name": "NASAExoplanet_query_stars",
    "arguments": {
        "query": "example_value"
    }
}
result = tu.run(query)