Correct an approved decision's scope and owners
dm.update_decision_metadataCorrect the applicability scope (project, decision thread, repository, environment) and the accountable owner / follow-up identities of an APPROVED decision. Requires the delegated human's OAuth grant, the decisions.edit permission and confirm=true after the user agrees. Every changed field is compare-and-set: pass expected. with the value you last read from dm.get_decision_context.scope; a stale value returns metadata_conflict. The approved statement, rationale and authority are immutable here: use review/supersession instead. A decision event records the before/after ids.
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": {
"decision_id": "<decision_id>",
"expected": "<expected>"
},
"name": "dm.update_decision_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true after the user agrees to change an approved decision's metadata. | |
| expected | Yes | The current value of each field being changed, as last read (null = unbound). | |
| project_id | No | ||
| decision_id | Yes | ||
| repository_id | No | ||
| environment_id | No | ||
| owner_identity_id | No | PERSON or GROUP identity id of the accountable owner. | |
| decision_thread_id | No | Canonical organizational DecisionThread id (not a meeting id). | |
| follow_through_identity_id | No | PERSON identity id accountable for follow-up. |