set_integration_credentials
Store credentials for a third-party service in the tenant's vault. Secret fields (password, api_token, token, access_token, api_key, client_secret, secret, …) go into Supabase Vault and are addressed by id — they are NEVER written to a plain column and NEVER returned by any tool. Everything else (base_url, username, account ids) stays as readable configuration. Required: provider (a stable lower-case handle like 'placetel'), credentials (object). Optional display_name, status, replace. Storing again MERGES: config fields you do not send keep their current value, so changing one field does not silently drop the others (pass replace: true to deliberately clear them). Use this instead of putting a password into an AI memory item — a memory is loaded into prompts, a vault entry is not. Secrets may be given as a 1Password reference op://// or a Bitwarden Secrets Manager reference bws:// (or bws:///) instead of the value (only for secret fields; resolved server-side from the tenant's 1Password/Bitwarden connection, so the value never appears in your context) — never ask a person to paste a password or API key into the chat. NOTE: this tool cannot verify that the credentials actually work; unlike the service-specific connect tools it stores what it is given. Where a check matters, test the login separately and set status accordingly. EXCEPTION, single sign-on: for provider 'dealeraize' pass credentials {auth_method: 'sso'} (company scope, acting person must be admin here and an admin in DealerAIze who has signed in there once with DelegAIze) — the product then issues a dedicated MCP key for that person, it is verified with a real MCP call and stored; no key or password needed. If the person is not linked yet, the error says so: sign in once at https://dealer-ai-ze.innov-ai-tive.de/login with "Mit DelegAIze anmelden", then retry.
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": {
"provider": "<provider>",
"credentials": "<credentials>"
},
"name": "set_integration_credentials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | tenant (default) = company integration, only admins or whoever may manage it. private = only for me: nobody else (admins included) can use it; my own private integration is used before the company one. | |
| status | No | active | inactive | error. Default active. | |
| replace | No | Drop every config field you did not send, instead of keeping it. Default false. Only for deliberately clearing an integration — a normal edit does not need it. | |
| provider | Yes | Stable handle, lower case, e.g. 'placetel'. One row per tenant and provider; storing again MERGES into it. | |
| credentials | Yes | Flat object. Secret-typed keys are vaulted, the rest stays as config. Fields you do not send keep their current value. | |
| display_name | No | Readable name for the integrations screen. |