create_connection
Creates a project connection to an external datasource and validates the supplied credentials live, failing if they are unreachable or invalid.
Instructions
IMPORTANT: this call actively tests the supplied credentials against the
live external system at creation time and fails with a non-standard HTTP 460
("connection_test_failed", non-retryable) if they don't work — confirmed live.
It cannot be used speculatively or with placeholder credentials; only call it
with genuinely reachable external-system credentials. properties may
contain secrets (e.g. an access key) — they are forwarded to the API but
never echoed back in this tool's output.
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": {
"project_id": "<project_id>",
"name": "<name>",
"datasource_type": "<datasource_type>",
"properties": "<properties>"
},
"name": "create_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| project_id | Yes | ||
| properties | Yes | Opaque per-datasource-type payload: bucket, endpoint, credentials, auth_method, etc. | |
| description | No | ||
| datasource_type | Yes | e.g. 's3'/'cos'/'bluemixcloudobjectstorage', or a datasource_types asset guid. |