Edit Evidence
edit_evidenceAttach or detach auxiliary evidence (docs, links, artifacts) on a control. Mutating; only contextual metadata, not proof of implementation.
Instructions
Attach or detach an auxiliary evidence item (doc, link, artifact reference) on a control. Mutating.
Evidence is contextual metadata only: it does NOT count toward a control's implementation status, and removing it changes neither the status nor any assertion. Only assertions prove controls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | add — optional file path or URL pointing at the artifact. | |
| type | No | add — "code", "test", "config", "document" or "link" (default "code"). | code |
| label | No | add — human-readable description of the item (required). | |
| action | Yes | "add" attaches an item; "remove" detaches one. | |
| model_id | Yes | ID of the threat model. | |
| control_id | Yes | ID of the control. | |
| evidence_index | No | remove — zero-based position of the item in the control's ``evidence`` array (read it with ``get_controls(control_id=...)``; default 0, the first item). | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||