update_workspace
Modify an existing workspace's name, slug, description, default status, metadata, rate limits, usage limits, or guardrails by ID; only supplied fields change 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.
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": "update_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the workspace | |
| slug | No | New slug for the workspace | |
| metadata | No | New metadata key-value pairs | |
| is_default | No | Set as default workspace (1 = yes, 0 = no) | |
| description | No | New description | |
| rate_limits | No | Replacement workspace rate-limit settings | |
| usage_limits | No | Replacement workspace usage-limit settings | |
| workspace_id | Yes | The workspace ID to update | |
| input_guardrails | No | Guardrail IDs applied to workspace model inputs | |
| output_guardrails | No | Guardrail IDs applied to workspace model outputs | |
| user_api_key_config | No | Default config slug for workspace-user API keys, or null to clear |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Call succeeded | |
| data | No | Success payload | |
| error | No | Failure details |