Record the datum of the user's levels
set_levels_datumRecord which height datum the user's own levels are on, for a project that already has its terrain.
Instructions
Record which height datum the user's own levels are on, for a project that already has its terrain.
Use it when get_terrain or get_project says the project has no levels datum, or the user corrects it.
For a new terrain, pass levels_datum to create_terrain_from_source instead. This is a fact about the
person's numbers, not about the terrain: it never changes the terrain's own datum. Hydrata compares the
two and returns levels_datum_mismatch when they differ: relay it.
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": {
"project_id": "<project_id>",
"levels_datum": "<levels_datum>"
},
"name": "set_levels_datum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The project ID (the key's person needs Editor rights on it) | |
| levels_datum | Yes | The datum the PERSON'S levels (study, survey, tailwater) are on, in their words: `AHD`, `NAVD88`, `Ordnance Datum Newlyn`, or an EPSG vertical code such as `EPSG:5711`. Ask the user; never guess. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||