nocodb_create_source
Adds a new external data source, such as MySQL or Postgres, to a NocoDB base. Use it to connect external databases by providing a base ID, alias, type, and connection config.
Instructions
Add a new external data source (e.g. MySQL, Postgres) to a base
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": {
"baseId": "<baseId>",
"alias": "<alias>",
"type": "<type>",
"config": "<config>"
},
"name": "nocodb_create_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Database type: mysql2, pg, sqlite3, mssql, oracledb | |
| alias | Yes | Alias/display name for the data source | |
| baseId | Yes | The base ID | |
| config | Yes | JSON string of connection config (host, port, user, password, database) |