create_integration
Create an organization-level integration to store an AI provider's API key, enabling downstream workspace providers. Supports OpenAI, Anthropic, Azure OpenAI, AWS Bedrock, and Vertex AI with provider-specific fields.
Instructions
Create an org-level provider integration that stores an AI provider's API key and becomes the source workspace providers (create_provider) build on. ai_provider_id takes a provider identifier such as 'openai' or 'anthropic'; some backends (azure-openai, aws-bedrock, vertex-ai) need provider-specific fields, and the key is write-only afterwards (get_integration shows it masked). Provision models and workspace access afterwards with update_integration_models and update_integration_workspaces. Returns the new integration id and slug.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | API key for the provider (if required) | |
| name | Yes | Human-readable name for the integration | |
| slug | No | URL-friendly identifier (auto-generated from name if not provided) | |
| aws_region | No | AWS region (for AWS Bedrock) | |
| api_version | No | API version (for Azure OpenAI) | |
| custom_host | No | Custom base URL for the provider | |
| description | No | Optional description of the integration | |
| workspace_id | No | Workspace ID for workspace-scoped integrations | |
| resource_name | No | Resource name (for Azure OpenAI) | |
| vertex_region | No | GCP region (for Vertex AI) | |
| ai_provider_id | Yes | ID of the AI provider (e.g., 'openai', 'anthropic', 'azure-openai', 'aws-bedrock', 'vertex-ai') | |
| deployment_name | No | Deployment name (for Azure OpenAI) | |
| aws_access_key_id | No | AWS access key ID (for AWS Bedrock) | |
| vertex_project_id | No | GCP project ID (for Vertex AI) | |
| aws_secret_access_key | No | AWS secret access key (for AWS Bedrock) |
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 |