Docs

MCP tool · Orion Intelligence

Undo, accept or reject Orion Intelligence changes

Acts on Orion Intelligence changes from list_intelligence_changes (the `id` of each change): `undo` an applied change, `accept` or `reject` a suggestion, or mark changes `seen`. undo, accept and reject act on the WHOLE decision the id belongs to: one decision can show as several changes (other days, other phases or properties, each with the same decision_id), and all of them are undone, accepted or rejected together.

act_on_intelligence_changes

Check the decision_id of each change before acting. Send change_id (one) or change_ids (several). Each id gets its own result { change_id, ok, status }; one failing does not stop the others (e.g. status expired for a suggestion that is no longer current).

Input

One arguments object with these fields.

Arguments object
  • action enum<string> required

    undo | accept | reject | seen

    Possible values: seen undo accept reject

  • change_id string min length 1max length 128

    One change: the id of a change from list_intelligence_changes.

  • change_ids string[] min items 1max items 200each min length 1each max length 128

    Several changes: ids from list_intelligence_changes.

Output

Result JSON
  • results object[] required

Example arguments

{
  "action": "seen",
  "change_id": "<string>",
  "change_ids": [
    "<string>"
  ]
}
JSON
Over HTTP: POST /v1/intelligence/changes