publish_artifact
Upload and publish React components, SVGs, or Mermaid diagrams to your GitHub Pages portfolio using TOYBOX. Artifacts are identified by unique slug-based IDs with UUID suffixes for easy management and sharing.
Instructions
Publish a new artifact to your TOYBOX. Artifacts are uniquely identified by a slug-based ID with UUID suffix.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | The React component code for the artifact (do not include React import - uses new JSX transform) | |
metadata | Yes |