Update a data source
update_data_sourceRename a data source or replace its connection settings. The config you pass replaces the stored one entirely, so include every setting, not just the changed ones.
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": {
"dataSourceId": "<dataSourceId>"
},
"name": "update_data_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| config | No | Connection settings for this connector type, for example { host, port, database, username, password, ssl } for postgres. Credentials are stored encrypted at rest and are never returned by read tools. | |
| dataSourceId | Yes | Data source id. |