Get Mars Photos
get_mars_photos"Show me photos from the Mars rover" / "Perseverance images from sol 1000" / "latest pictures from Mars" — raw images from NASA's Perseverance rover (Mars 2020), straight off the mars.nasa.gov feed. Filter by Martian sol and by camera. Returns image URLs at four resolutions, the sol, the UTC and Mars-local capture times, and the camera instrument. Keyless. Covers Perseverance only — Curiosity, Opportunity and Spirit have no live public image feed. Example: get_mars_photos({ sol: 1000, camera: "NAVCAM_LEFT" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sol | No | Martian sol (mission day) to retrieve images from, e.g. 1000. Perseverance landed on sol 0 (2021-02-18) and is past sol 1900. Omit for the most recent images. | |
| limit | No | Max images to return (default 20, max 100). | |
| camera | No | Camera instrument, exact: "NAVCAM_LEFT", "NAVCAM_RIGHT", "FRONT_HAZCAM_LEFT_A", "FRONT_HAZCAM_RIGHT_A", "REAR_HAZCAM_LEFT", "REAR_HAZCAM_RIGHT", "MCZ_LEFT"/"MCZ_RIGHT" (Mastcam-Z), "SHERLOC_WATSON", "SUPERCAM_RMI", "SKYCAM", "PIXL_MCC", "CACHECAM". Short forms FHAZ/RHAZ/NAVCAM/MAST are accepted. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sol | No | ||
| count | No | Total number of photos retrieved | |
| rover | No | ||
| camera | No | ||
| photos | No | List of Mars rover photos (up to 20) | |
| total_matching | No |