superset_database_update
Update an existing database connection in Apache Superset by changing its name, SQLAlchemy URI, password, or extra configurations through the API.
Instructions
Update an existing database connection
Makes a request to the /api/v1/database/{id} PUT endpoint to update database connection properties.
Args: database_id: ID of the database to update data: Data to update, can include database_name, sqlalchemy_uri, password, and extra configs
Returns: A dictionary with the updated database information
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": {
"database_id": "<database_id>",
"data": "<data>"
},
"name": "superset_database_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| database_id | Yes |