Setup
Available tools
save_artifact
Returns a confirmation string with the version number and byte count.
load_artifact
Returns the file content as text, or base64-encoded string for binary files.
list_artifacts
Returns a newline-separated list of all saved artifact filenames, or"No artifacts saved.".
Versioning
Everysave_artifact call increments the version number for that filename. The version is tracked in EventActions.artifact_delta so artifact changes appear in the session event log.
CallContext API
Tools can also save and load artifacts programmatically viaCallContext: