registry__create_artifact
Create one artifact of a registered kind.
- Inputs: required
kindandmetadata. Metadata must includenameandworkspace_id. Optionalbodysends text content;body_base64sends bytes. The two content inputs are mutually exclusive. - Returns: the created artifact, including its new ID.
- Effect: writes state and runs the kind’s create hooks. Confirm the kind, workspace, metadata, and content before calling it.
registry__list_containers to find a workspace handle and
registry__list_kinds to confirm the kind. Use registry__create_artifacts for
a batch.