sample_points
[Site data] Values of one dataset at up to 200 points: the value of the tile cell under each point, in the order sent, null where the dataset has none. Send lats and lons as two lists of the same length. Latitudes are planetocentric on every body but Earth, where they are geodetic (WGS84); longitudes are degrees east, -360 to 360 accepted, answered from -180 to 180. Values are in the dataset unit each answer names (meters above the height reference for a height dataset). A class layer's value is a class index; its names are in the answer's dataset.classes. One call reads at most 24 tiles, so a wide request is read at a coarser level and the answer says which level and cell size it used. The largest answer is about 4,000 characters, under the 30,000 characters a connector result is cut at. Each answer carries the source, license and citation: repeat them with any value you use.
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": {
"dataset": "<dataset>",
"lats": "<lats>",
"lons": "<lons>"
},
"name": "sample_points"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lats | Yes | Latitudes in degrees, north positive, planetocentric (geodetic on Earth). | |
| lons | Yes | East longitudes in degrees, one per latitude. | |
| level | No | The tile level to read at exactly; the call is refused when that needs more tiles than one call reads. Omit it for the finest level that fits. | |
| dataset | Yes | A dataset id as data_catalog lists it, for example mars.height. |