Artifact Save¶
Save an artifact (context bundle, export, report, snapshot, or scratch) to the centralized data store with metadata and TTL-based lifecycle.
MCP name: artifact_save
Category: artifacts
Mutates state (retry policy: replay)
Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
agent_session_id |
str |
No | Session ID (auto-injected by gateway) |
content |
str |
Yes | Content to save (text) |
description |
str |
No | Human-readable description |
ext |
str |
No | File extension (default: json) |
slug |
str |
Yes | Short descriptive name (kebab-case, used in filename) |
tags |
str |
No | Comma-separated tags for filtering |
ttl_days |
int |
No | Override default TTL in days |
type |
str |
Yes | Artifact type: context (7d TTL), export (90d), report (30d), snapshot (14d), scratch (3d) |