Where to store the output of a long agent run

Write it to a state key as it goes, so the final output survives the run ending.

Run it

curl -s -X POST https://api.model.tools/api/v1/state/run-output -H 'Content-Type: application/json' -d '{"result":"…"}'

Response

{"ok":true,"id":"run-output"}