add_database
Attach a database or service to a project and inject its connection variables into the app; it is created on the next redeploy and billed hourly.
Instructions
Attach a database or service to a project: postgres, mysql, mongodb, redis, rabbitmq or s3. Its connection variables (e.g. DATABASE_URL) are injected into the app. It is created on the next redeploy and billed per hour from the wallet.
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": {
"project_id": "<project_id>",
"kind": "<kind>"
},
"name": "add_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |