update_workspace
Update workspace name, slug, description, default flag, or metadata by workspace ID. Only provided fields change and take effect immediately.
Instructions
Update a workspace's name, slug, description, default flag, or metadata by id, unlike update_workspace_member which changes role assignments within a workspace. Only provided fields change and updates take effect immediately; changing the slug can break URLs, API key references, and other external links, so confirm no dependencies first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | The workspace ID to update | |
| name | No | New name for the workspace | |
| slug | No | New slug for the workspace | |
| description | No | New description | |
| is_default | No | Set as default workspace (1 = yes, 0 = no) | |
| metadata | No | New metadata key-value pairs |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded and returned structured data | |
| data | No | Structured success payload when ok is true | |
| error | No | Structured error payload when ok is false |