deployado_connect_database
Connects an app to a database by injecting the connection URL as an environment variable, so the application can access the database at runtime.
Instructions
Connect an app to a database. This injects the connection URL as an environment variable into the app.
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>",
"app_id": "<app_id>"
},
"name": "deployado_connect_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | App ID (UUID) to connect | |
| driver | No | Database driver (default: postgres) | |
| use_ssl | No | Use SSL for connection | |
| database_id | Yes | Database ID (UUID) | |
| env_var_name | No | Environment variable name for the connection URL (default: DATABASE_URL) |