Get a run's full record
get_runGet full details of a simulation run including timing and results.
Instructions
Get full details of a simulation run including timing and results.
Returns the complete run record: status, progress, timing (start/end timestamps, duration), compute details (backend, instance type, cost), mesh info, error messages, and result log. Use get_run_status for lightweight polling; use this for final results.
The presigned s3_*_url download links are ELIDED — each is a 6-hour
capability and no tool relays one. The results stay viewable through the
gn_layer_* entries (published WMS layers on the project's map).
sww reports the run's full time series (the raw ANUGA output): state
(available, not_kept, archived, restoring or unreadable), size_bytes, and a ui_url
to the Results panel where the person downloads it (or requests a restore
of an archived one and is emailed when it is ready). The download link
itself is never returned. unreadable means the storage refused the read:
there is no download to offer, so tell the person and ask them to ask the
operator; sww.error_code and sww.detail carry the reason in words.
CULVERTS (a complete run): culverts lists the flow the model moved THROUGH each
culvert's barrel: name, feature_id, peak_q_m3s and peak_q_time_s (seconds
into the run), volume_m3 (net volume through the barrel; null when the run kept
no series), warnings (e.g. a mesh too coarse at the culvert), has_timeseries.
culvert_sign_convention gives the sign once: positive flow runs from the
culvert's Inlet to its Outlet. Relay culverts_note. This is the culvert's
flow; get_flow_hydrograph on a line drawn along a culvert measures the flow
ACROSS that line, a different number, so quote culverts for a culvert.
culverts: [] means the run modelled no culvert (say so; never invent a
number). When the culvert results cannot be read, culverts is absent and
culverts_note says so; the rest of the run record is still good.
STABILITY (a complete run): stability is how the model behaved, graded from the run's own
records: class (boundary_fed, propagating, localised_persistent, local_transient,
clip_artefact, or null), onset_sim_s (seconds into the run), location (lon/lat of the
spot, when the model recorded one), severity (warning, info or null) and message.
warnings holds BOUNDARY_FED_VOLUME_GAIN when water came in through an open boundary after the
rain and inflows ended: its detail names the boundary and the volume, its hint the fix.
When there is something to say, say_to_user says it: RELAY it before you report any depth,
flow or volume from the run. The run stays complete either way. The speed classes are
provisional (information only); a clip_artefact run has nothing to report.
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": {
"run_id": "<run_id>"
},
"name": "get_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||