Propose a new boundary between two sub-catchments
propose_sub_catchment_boundaryPropose a new boundary between two sub-catchments when terrain does not match expected water flow, then file it for human review.
Instructions
Propose a new boundary between two sub-catchments (a dragged boundary). It is filed WAITING: the draft shows it, and
only a person decides it on the map (Keep as drawn, or Make the terrain agree, where the two sub-catchments take the
ground the terrain gives them with a drainage barrier on the line; the terrain itself does not change), or undoes it.
The sub-catchments cannot be confirmed while it waits. Read the two outlines first (get_sub_catchments with
outlines_of) and the ground (terrain_profile), and use it only when you can say why water goes this way and the
terrain does not show it. Tell the user it is waiting and give them the link (ui_url).
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>",
"sub_catchments_id": "<sub_catchments_id>",
"sub_catchment_ids": "<sub_catchment_ids>",
"line": "<line>",
"reason": "<reason>"
},
"name": "propose_sub_catchment_boundary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | The new stretch of boundary as [[lon, lat], ...] (at least 2 points, WGS84). Start and end it ON the boundary the two share now; the ground between the old and the new boundary changes sides. | |
| reason | Yes | One or two sentences the person reads before deciding: what you saw (for example a road or a drain the terrain does not hold) and why the boundary goes this way. | |
| project_id | Yes | The project ID (Editor rights) | |
| preview_terrain | No | True: also work out (without storing anything) how much of the dragged ground the terrain would send the same way with a drainage barrier along the line, and say so. It takes a little longer. | |
| sub_catchment_ids | Yes | The two sub-catchments either side of the boundary (their ids) | |
| sub_catchments_id | Yes | The set: its `sub_catchments_id` |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||