Save a project's default comparison tolerance
set_comparison_toleranceConfigure the project-wide default tolerance (in metres) for comparing runs with flood observations, applied to future comparisons unless overridden.
Instructions
Save a project's default tolerance for comparing runs with flood observations.
Needs Editor (or above). Every later get_observation_comparison (and the map's
Compare with observations tab) uses it unless a tolerance is passed. Only
save it when the user asks to change the project's default; to show the
figures at another tolerance, pass tolerance to get_observation_comparison.
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>",
"tolerance_m": "<tolerance_m>"
},
"name": "set_comparison_tolerance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The project ID | |
| tolerance_m | Yes | The project's default tolerance in metres (above 0 and at most 5; presets 0.15, 0.3, 0.4) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||