Set Artifact Archived
set_artifact_archivedArchive an artifact to hide it from default lists, or unarchive it. Its revisions and log links are kept and it stays readable. Unarchive it before saving a new revision. Returns the owner's new version.
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": {
"request_id": "<request_id>",
"expected_version": "<expected_version>",
"artifact_id": "<artifact_id>",
"archived": "<archived>",
"change_summary": "<change_summary>"
},
"name": "set_artifact_archived"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archived | Yes | true hides it from default lists; false restores it. | |
| request_id | Yes | A key you choose, such as a UUID. Retry an uncertain write with the same request_id and arguments; Venom applies it once. | |
| artifact_id | Yes | The artifact's ID, from save_artifact, list_artifacts, search or an attachment. | |
| change_summary | Yes | Why you are archiving or restoring it, recorded with the change. | |
| expected_version | Yes | The owning task's or project's version (owner_version in reads); a stale one fails instead of overwriting a newer change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notices | No | Venom reminders to read first. | |
| task_id | No | Task ID, if task write. | |
| version | Yes | New version for expected_version. | |
| entry_id | No | Log entry ID written. | |
| owner_id | Yes | Written project or task ID. | |
| revision | Yes | Current artifact revision. | |
| owner_type | Yes | project or task. | |
| project_id | Yes | Project ID. | |
| artifact_id | Yes | Artifact ID for read_artifact or saves. | |
| mutation_at | Yes | Commit time (Unix seconds). |