Propose the openings along flagged culverts
propose_culvert_openingsPropose drainage openings for flagged culverts in one request, filed as proposals for map review. Accept them to trigger drainage re-analysis and rerun the line.
Instructions
Propose the drainage opening every flagged culvert of the sub-catchments offers, in ONE request (D15's measured
ladder: where the water reaching a culvert's inlet leaves past its outlet, an opening along the culvert would carry it
through). The openings are filed as PROPOSALS: nothing changes until a person accepts them on the map, and only then
is the terrain's drainage analysis worked out again (once) and the line run again. Read the culverts first with
get_sub_catchments (version.culverts: each culvert's area across the inlet, its flags and whether an opening is
offered). Tell the user they are 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>"
},
"name": "propose_culvert_openings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| culverts | No | Only these culverts' openings, as [[culvert, feature], ...] (get_sub_catchments: version.culverts.placed, where opening_offered is true). Omit it for every opening offered, which is the usual one action. | |
| project_id | Yes | The project ID (Editor rights) | |
| sub_catchments_id | Yes | The set of sub-catchments: its `sub_catchments_id` |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||