Attach evidence to an approved decision
dm.attach_decision_evidenceLink Evidence to an APPROVED decision, in one call and one all-or-nothing transaction (1-20 items). Each item is EITHER an existing authorized reference {evidence_chunk_id} (no duplication) OR new Evidence {snippet, source_type, optional source_artifact_id, source_title, source_uri, ...} through the same ingestion path as the DM website. Requires the delegated human's OAuth grant, the decisions.edit permission and confirm=true after the user agrees. Evidence visibility and ownership are enforced exactly as in the UI: you can only link Evidence the human may read, linking never widens its visibility, and there is no visibility, workspace, status or approval argument (unsupported arguments are rejected). Retrying the same items is safe: equivalent links return status=already_linked. This never approves a decision.
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>",
"items": "<items>"
},
"name": "dm.attach_decision_evidence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| confirm | No | Must be true after the user agrees to link Evidence to an approved decision. | |
| decision_id | Yes |