save_to_hypervault
Save HTML, React, reports, or games to HyperVault and get a shareable link. React components are auto-wrapped into standalone pages.
Instructions
Save an artifact (HTML page, React/JSX component, report, game, etc.) permanently to the user's HyperVault and get back a shareable URL.
React/JSX content is detected automatically and wrapped into a working standalone page — you can pass a bare component and it will just work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Optional tags for organizing the vault. Tags also power auto-connections: items sharing a tag get linked in graph view. | |
| type | No | Content hint: "html", "jsx", "report", "game", etc. | html |
| title | No | Human-friendly title shown in the user's vault. | Untitled |
| content | Yes | The full HTML document or React/JSX source to save. | |
| mutable | No | When true, save a *living document* you can rewrite later. A mutable artifact can be read with read_artifact and rewritten with write_artifact; every write is kept as a version (a git commit) you can list with artifact_history and revert to. Defaults to false — artifacts are immutable, and re-saving identical content just returns the existing link. Turn this on when you expect to iterate on the same artifact over time. | |
| make_pwa | No | When true (default), the page gets a manifest and Add-to-Home-Screen support so it installs like a native app. | |
| connect_to | No | Titles or slugs of related artifacts. Creates bidirectional connections drawn as edges in the vault's graph view. | |
| visibility | No | "private" (default) or "public". Private artifacts only open for the signed-in owner and accounts they invite from the vault dashboard; public ones open for anyone with the link. | private |
| source_prompt | No | The prompt that produced this artifact (max 10,000 chars). It is baked into the page as a <meta name="hypervault-source-prompt"> tag, so any agent that later opens the URL can read the original prompt and iterate on the artifact. Pass it whenever you have it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||