add_evidence_version
Upload a new version of an existing evidence item while preserving prior versions; optionally carry over existing files and add a note describing changes.
Instructions
Upload a NEW VERSION of an existing evidence item (like the 'Add new version' button). Old versions stay in the history. By default the new version contains only the new files; set keep_existing_files to carry over files from the latest version (all of them, or only the names you list). Optionally add a version note describing what changed. Confirm the evidence, files and note with the user before calling.
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": {
"evidence_id": "<evidence_id>"
},
"name": "add_evidence_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_paths | No | Absolute paths of new local files for this version | |
| evidence_id | Yes | Numeric Portflow id | |
| version_note | No | What changed in this version (plain text or HTML) | |
| keep_existing_files | No | false = only new files; true = also keep all files of the latest version; or a list of file names to keep |