Get Planet
get_planetGet a Star Wars planet by its numeric ID. Returns name, climate, terrain, population, and orbital data.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": 1
},
"name": "get_planet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Planet ID (e.g., 1 for Tatooine) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Planet URL | |
| name | Yes | Planet name | |
| climate | Yes | Climate | |
| gravity | Yes | Gravity | |
| terrain | Yes | Terrain | |
| diameter | Yes | Diameter | |
| population | Yes | Population | |
| surface_water | Yes | Surface water percentage | |
| orbital_period | Yes | Orbital period | |
| rotation_period | Yes | Rotation period |