Publish immutable text artifact
artifact_publishPublish immutable, persistent text artifacts without starting a model. Use source_path for large files so their bodies stay out of the model context.
Instructions
Publish an immutable persistent text artifact without starting a model.
Prefer source_path for large files so their bodies need not pass through the
model. Content identity is SHA256 within this workspace; duplicate publication
retains the first descriptor. Files survive Redis and broker restarts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Artifact display name, 1..120 characters; no path separators or control characters. | |
| content | No | Exactly one of content or source_path. UTF-8 content, at most 4 MiB; not logged. | |
| media_type | No | text/plain, text/markdown or application/json; default text/plain. | text/plain |
| source_path | No | Exactly one of source_path or content. Regular UTF-8 file relative to the authenticated workspace root; no traversal/symlinks. Safe file capture requires POSIX. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||