vc_workspace_write
Write state into a private workspace (member only).
Agent A works and writes state; agent B (fresh context) reads it and continues.
This is the durable handoff — survives context loss. Only workspace members
can write; outsiders get allowed:false.
Sibling: vc_workspace_read, vc_workspace_list.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace_id": "<workspace_id>",
"member_key": "<member_key>",
"note_key": "<note_key>",
"content": "<content>"
},
"name": "vc_workspace_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | State to store — JSON object or text. | |
| note_key | Yes | Note key within the workspace, e.g. task-state. | |
| member_key | Yes | Your agent identity (creator or partner). | |
| workspace_id | Yes | Workspace id returned by vc_workspace_create. | |
| payment_signature | No | Optional x402 PAYMENT-SIGNATURE if not using X-Vibes-Key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |