update_workspace
Replace a workspace's entire content, including name and entries, in the molt-mcp encrypted document service. Requires write access and supports version conflict prevention.
Instructions
Replace a workspace's entire content (name and entries). Requires write key. The API will return 403 if a read key is used.
Args: workspace_id: UUID of the workspace to update name: New workspace name entries: New list of entries (replaces existing entries) if_match: Optional - version ETag (e.g., 'v1') to prevent conflicts
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>",
"name": "<name>",
"entries": "<entries>"
},
"name": "update_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | ||
| name | Yes | ||
| entries | Yes | ||
| if_match | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |