Save boundary file to the library
save_fileExports a boundary (like export_boundary) and saves it in the organization's file library, so teammates find it on the dashboard and through list_files. visibility org (default) shares it with every member at their role; restricted keeps it to you, admins and whoever you share it with (share_file). Saving the same boundary, format and detail again returns the existing entry. Costs 1 unit. Returns the library entry with its permanent download url. Needs an API key or a connected account.
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": {
"boundary_id": "<boundary_id>"
},
"name": "save_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A label for the library; default: the boundary's name, format and detail. | |
| detail | No | medium | |
| format | No | geojson | |
| visibility | No | org | |
| boundary_id | Yes | Boundary id, as get_boundary accepts it (r62422, wikidata:Q64, iso:US-CA…). |