create_integration
Creates an organization-level provider integration, returning a unique ID and slug for downstream use. Supports provider-specific fields for Azure, AWS, Google Vertex AI, and custom hosts.
Instructions
Create an org-level provider integration. Some backends need provider-specific fields, and the new integration becomes the source for downstream providers and workspace access. Returns the new integration id and slug.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name for the integration | |
| ai_provider_id | Yes | ID of the AI provider (e.g., 'openai', 'anthropic', 'azure-openai', 'aws-bedrock', 'vertex-ai') | |
| slug | No | URL-friendly identifier (auto-generated from name if not provided) | |
| key | No | API key for the provider (if required) | |
| description | No | Optional description of the integration | |
| workspace_id | No | Workspace ID for workspace-scoped integrations | |
| api_version | No | API version (for Azure OpenAI) | |
| resource_name | No | Resource name (for Azure OpenAI) | |
| deployment_name | No | Deployment name (for Azure OpenAI) | |
| aws_region | No | AWS region (for AWS Bedrock) | |
| aws_access_key_id | No | AWS access key ID (for AWS Bedrock) | |
| aws_secret_access_key | No | AWS secret access key (for AWS Bedrock) | |
| vertex_project_id | No | GCP project ID (for Vertex AI) | |
| vertex_region | No | GCP region (for Vertex AI) | |
| custom_host | No | Custom base URL for the provider |
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 |