vnsh
v1.3.0Portable workspaces for AI agents: one encrypted link any agent can read and write
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
vnsh_read
Securely retrieves and decrypts content from a vnsh URL. Use this tool whenever the user provides a vnsh.dev link or any URL with #k= and &iv= in the fragment. The content is decrypted locally - the server never sees the decryption key.
| Parameter | Type | Description |
|---|---|---|
url * | string | The full vnsh URL including the hash fragment (#k=...&iv=...) |
vnsh_workspace_create
Creates a shared workspace and returns one link that any agent can read AND write. Use this when work will continue somewhere else: handing a plan, status doc, design, or investigation to another agent or another session, or when the user says they will pick this up in a different tool. Unlike vnsh_share (a one-shot snapshot), a workspace keeps the same URL as its content evolves. Content is encrypted locally; the server never sees the key. Expires 24h after the last write.
| Parameter | Type | Description |
|---|---|---|
content * | string | Initial content. HTML renders as a page via vnsh_workspace_open. |
host | string | Override the vnsh host URL |
vnsh_workspace_read
Reads the current content of a vnsh workspace URL (a /w/ link with a #w= fragment). Use this whenever the user provides such a link — it is how you pick up work another agent left for you. Returns the content and its version number; pass that version to vnsh_workspace_update to write safely.
| Parameter | Type | Description |
|---|---|---|
url * | string | Full workspace URL including the #w= fragment |
vnsh_workspace_update
Replaces the content of a vnsh workspace, keeping the same URL. Use this to record progress so far, revise a shared plan, or leave the next agent an updated document. Writes are version-checked: if someone else wrote first, this returns their current content so you can merge it with yours and call this again.
| Parameter | Type | Description |
|---|---|---|
content * | string | The full new content (replaces everything) |
url * | string | Full workspace URL including the #w= fragment |
base_version | number | Version this edit is based on. Omit to read the latest first. Pass the version from vnsh_workspace_read when you have already merged against it. |
vnsh_workspace_open
Decrypts a vnsh workspace to a local temp file and opens it in the browser. Use this when the user wants to LOOK at a workspace rather than have its content read into context — HTML reports, dashboards, and diagrams render properly this way. Rendering happens locally from file://, so nothing is exposed to any server.
| Parameter | Type | Description |
|---|---|---|
url * | string | Full workspace URL including the #w= fragment |