update_output_guardrail_workspace_exclusions
Set workspace exclusions from organisation-wide output guardrails. Exclude or restore workspaces, with merge preserving unmentioned workspaces and override replacing prior states.
Instructions
Set workspace exclusions from organisation-wide output guardrails. Each entry excludes or restores one workspace; override_existing replaces prior states while the default merge behavior preserves unmentioned workspaces. Review the matching list tool first because enforcement changes immediately. Repeating the same states is safe. Requires an organisation service API key with organisation_exclusions.update scope. Enterprise-gated. Returns 403 on non-Enterprise Portkey plans.
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": {
"organisation_id": "<organisation_id>",
"workspaces": "<workspaces>"
},
"name": "update_output_guardrail_workspace_exclusions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaces | Yes | Workspace exclusion states to apply | |
| organisation_id | Yes | Organisation ID whose workspace exclusions should be updated | |
| override_existing | No | Replace existing exclusion states instead of merging changes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Call succeeded | |
| data | No | Success payload | |
| error | No | Failure details |