Read the features of a project input layer
read_input_layerRead the features of a project input layer: GeoJSON in EPSG:4326 with each feature's id (fid), its attributes and its author (person, or the agent grant and client that wrote it).
Instructions
Read the features of a project input layer: GeoJSON in EPSG:4326 with each feature's id (fid),
its attributes and its author (person, or the agent grant and client that wrote it).
Read a layer before you write to it. A person may have drawn features in the map that you cannot otherwise see; write_input_layer then ADDS to the layer rather than replacing it. Read-only.
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>",
"kind": "<kind>"
},
"name": "read_input_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Which input: boundary, friction, inflow, rainfall, building, mesh_region or culvert. | |
| row_id | No | The input row's id (from list_inputs). Leave empty for the project's default row of that kind. | |
| project_id | Yes | The project ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||