set_workspace_models
Enable or disable AI models for a workspace. models is a partial map of model key -> boolean: unlisted models keep their current setting (pass replace: true to treat it as the complete map, disabling everything unlisted). Requires an owner or admin role. At least one available model must stay enabled. Models reported as available: false cannot be enabled (the surface is not delivering) — they may only be set false. Each enabled model spends answer-run budget per run according to its weight (see get_workspace_models).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| models | Yes | Partial map of model key -> enabled. Valid keys: chatgpt, perplexity, gemini, google-ai-mode, google-ai-overview, grok, bing-copilot, chatgpt-search, qwen, deepseek, llama, claude-sonnet, gpt-5-search, brave-leo, naver, duckduckgo, baidu | |
| replace | No | When true, `models` is the complete map: any unlisted model is disabled | |
| workspaceId | Yes | Workspace ID — get the list from the list_workspaces tool |