save_artifact
Save a learning artifact (HTML, Markdown, chart, code, report) for a learner, including content or URI, metadata, and session context to support progress tracking.
Instructions
Save a learning artefact (HTML, Markdown, chart, code, report...).
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": {
"learner_id": "<learner_id>",
"artifact_type": "<artifact_type>"
},
"name": "save_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | ||
| version | No | 1 | |
| metadata | No | ||
| learner_id | Yes | ||
| request_id | No | ||
| session_id | No | ||
| path_or_uri | No | ||
| artifact_type | Yes |