save_artifact
Store completed research, analyses, code, or documentation as searchable files with metadata and tags, preserving significant work for later retrieval and collaboration.
Instructions
Save a research artifact (finding, analysis, summary) to the session.
AUTOMATIC TRIGGERS - Call this when:
You complete a significant analysis or research summary
You've written important code or documentation
You want to save a detailed analysis (beyond a simple message)
Completing a major deliverable
Use this for SIGNIFICANT work products, not for inline messages. Artifacts are stored as files with metadata indexed in SQLite.
WORKFLOW POSITION: Call after completing substantial work.
PARAMETERS:
session_id: Target session
title: Descriptive title for the artifact
content: Full artifact content (markdown recommended)
created_by: Your agent ID
artifact_type: Type like 'research_summary', 'analysis', 'code', 'data'
tags: Tags for categorization
shared: If True, save to shared directory (default: False)
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": {
"session_id": "<session_id>",
"title": "<title>",
"content": "<content>",
"created_by": "<created_by>"
},
"name": "save_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| title | Yes | ||
| shared | No | ||
| content | Yes | ||
| created_by | Yes | ||
| session_id | Yes | ||
| artifact_type | No |