Goal
View and update workspace-level configuration settings to control safety guardrails, autonomy modes, and workspace policies.
Which Agents Use This
- custom (system/admin flows) — Used during workspace setup or policy changes
- Typically invoked by Admin users, not agents
Hard Rules
- MUST require Admin role for any updates
- MUST validate autonomy_mode transitions (can't skip levels)
- MUST NOT allow disabling Safe Mode without explicit confirmation
- Viewer role can only view config (no updates)
Steps
1. Validate permissions
- Verify workspace_id exists
- For view: require workspace:read permission
- For update: require workspace:admin permission (Admin role only)
2. View config (action=view)
- Return current workspace configuration
- Show Safe Mode status, autonomy mode, quotas, policies
3. Update config (action=update)
- Validate each update field
- Apply updates to workspace config
- Return updated config and list of changed fields
4. Validate autonomy mode transitions
- Assisted → Managed (allowed)
- Managed → Autopilot (requires Safe Mode off confirmation)
- Cannot skip levels
Output
View config:
{
"success": true,
"workspace_id": "uuid",
"config": {
"safe_mode": true,
"autonomy_mode": "managed",
"quotas": {
"daily_posts": 100,
"hourly_api_requests": 1000
},
"policies": {
"require_approval_for_schedule": true
}
}
}
Update config:
{
"success": true,
"workspace_id": "uuid",
"config": { ... },
"updated_fields": ["safe_mode", "autonomy_mode"]
}
Failure Handling
- If workspace_id not found: return error "Workspace not found"
- If not Admin role: return error "Admin permission required"
- If invalid autonomy_mode transition: return error with valid transitions
Example Usage
Scenario 1: View current config
{
"workspace_id": "uuid",
"action": "view"
}
Result: Receive current workspace configuration
Scenario 2: Update Safe Mode
{
"workspace_id": "uuid",
"action": "update",
"updates": {
"safe_mode": false
}
}
Result: Safe Mode disabled (requires Admin confirmation)
1---2name: bolta-workspace-config3version: 2.0.04description: View and update workspace-level configuration settings including Safe Mode, autonomy mode, and quotas5category: control6roles_allowed: [Admin]7required_scopes: [workspace:read]8agent_types: [custom]9safe_defaults:10 require_admin: true11tools_required: []12inputs_schema:13 type: object14 required: [workspace_id]15 properties:16 workspace_id: { type: string, description: "Workspace UUID" }17 action: { type: string, enum: [view, update], description: "View or update config", default: view }18 updates: 19 type: object20 properties:21 safe_mode: { type: boolean }22 autonomy_mode: { type: string, enum: [assisted, managed, autopilot, enterprise] }23 quotas: { type: object }24outputs_schema:25 type: object26 properties:27 success: { type: boolean }28 workspace_id: { type: string }29 config: { type: object }30 updated_fields: { type: array, items: { type: string } }31organization: bolta.ai32author: Bolta Team33---3435## Goal36View and update workspace-level configuration settings to control safety guardrails, autonomy modes, and workspace policies.3738## Which Agents Use This39- **custom** (system/admin flows) — Used during workspace setup or policy changes40- Typically invoked by Admin users, not agents4142## Hard Rules431. MUST require Admin role for any updates442. MUST validate autonomy_mode transitions (can't skip levels)453. MUST NOT allow disabling Safe Mode without explicit confirmation464. Viewer role can only view config (no updates)4748## Steps4950### 1. Validate permissions51- Verify workspace_id exists52- For view: require workspace:read permission53- For update: require workspace:admin permission (Admin role only)5455### 2. View config (action=view)56- Return current workspace configuration57- Show Safe Mode status, autonomy mode, quotas, policies5859### 3. Update config (action=update)60- Validate each update field61- Apply updates to workspace config62- Return updated config and list of changed fields6364### 4. Validate autonomy mode transitions65- Assisted → Managed (allowed)66- Managed → Autopilot (requires Safe Mode off confirmation)67- Cannot skip levels6869## Output7071**View config:**72```json73{74 "success": true,75 "workspace_id": "uuid",76 "config": {77 "safe_mode": true,78 "autonomy_mode": "managed",79 "quotas": {80 "daily_posts": 100,81 "hourly_api_requests": 100082 },83 "policies": {84 "require_approval_for_schedule": true85 }86 }87}88```8990**Update config:**91```json92{93 "success": true,94 "workspace_id": "uuid",95 "config": { ... },96 "updated_fields": ["safe_mode", "autonomy_mode"]97}98```99100## Failure Handling101- If workspace_id not found: return error "Workspace not found"102- If not Admin role: return error "Admin permission required"103- If invalid autonomy_mode transition: return error with valid transitions104105## Example Usage106107### Scenario 1: View current config108```json109{110 "workspace_id": "uuid",111 "action": "view"112}113```114**Result:** Receive current workspace configuration115116### Scenario 2: Update Safe Mode117```json118{119 "workspace_id": "uuid",120 "action": "update",121 "updates": {122 "safe_mode": false123 }124}125```126**Result:** Safe Mode disabled (requires Admin confirmation)