Save Artifact
save_artifactSave a deliverable to a project or task as a .md or self-contained .html file, up to 256 KiB: each save is a new immutable revision, attached to the owner's log. HTML may use inline JavaScript; previews block fetch requests and external assets. For progress notes, use append_task_log or append_project_log.
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>",
"owner_type": "<owner_type>",
"owner_id": "<owner_id>",
"filename": "<filename>",
"title": "<title>",
"content": "<content>",
"change_summary": "<change_summary>"
},
"name": "save_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The title shown in artifact lists. | |
| content | Yes | The whole file: Markdown, or self-contained HTML. | |
| filename | Yes | The file name people download: .md for Markdown, .html for a self-contained page. | |
| owner_id | Yes | The owning project's or task's ID, as reads return it. | |
| owner_type | Yes | Whether a project or a task owns the artifact. | |
| 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 | No | Save a new revision of this artifact; omit to create a new one. | |
| description | No | One line on what the artifact contains. Resend it with every revision, or it is cleared. | |
| change_summary | Yes | What this revision adds or changes, logged with the attachment. | |
| 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). |