Delete a data source
delete_data_sourcePermanently delete a data source connection. This is refused while any widget still uses it. Calling this without confirm returns a preview. Your actual database is untouched; only the connection is removed.
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": "delete_data_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true only after the user has seen what will be deleted and explicitly agreed. Calling without it returns a preview instead of deleting. | |
| confirmName | No | The exact current name of the item being deleted, copied from the preview. Required alongside confirm. | |
| dataSourceId | Yes | Data source id. |