Publish artifact
artifact_publishPublish text as a versioned artifact. A workspace item needs why (workspaceId, or a workspace folder named in folder, homes it there) and takes no visibility, teams or publicAsset (make it readable by anyone afterwards with artifact_share_policy); no expected revision is needed. folder files it: a folder id, or a slug (in workspaceId, else in team, else your personal folders). handoff: true publishes markdown as the workspace's note for whoever comes next. Typed teams lists are authorized before standalone creation. The bounded receipt includes complete immutable content access. Every version is stored in full and counts toward the owner's storage; data that grows by adding records belongs in a table.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | Required for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. At most 300 characters. | |
| team | No | With a folder slug: the team (slug or id) the folder belongs to. | |
| type | Yes | ||
| alias | No | ||
| teams | No | Teams (slug or id) to share it with once it exists. Standalone only. | |
| title | No | ||
| folder | No | The folder to file it in: a folder id (a workspace folder puts it in that workspace), or a slug: in workspaceId when given, else in team, else one of your personal folders. | |
| content | Yes | ||
| handoff | No | Publish markdown as the workspace's handoff note for whoever comes next (needs a workspace). | |
| audience | No | Workspace audience: internal (the default for internal members) or shared (external members see it too; the only choice for external editors). | |
| visibility | No | Standalone sharing only; omit with a workspace, including private. | |
| publicAsset | No | Store it in public storage with a direct URL (publicUrl). Not private, not in a workspace, not a table. | |
| workspaceId | No | The workspace to create it in (a workspace folder named in folder implies it). A workspace item needs why and takes no visibility, teams or publicAsset. | |
| creatorContext | No | How it was made: the prompt, tool or run. | |
| inputReferences | No | What it was made from: ids or URLs. | |
| parentArtifactId | No | The artifact this one was derived from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| artifact | Yes |