Attach database
attach_databaseCreate a Postgres database for the project. Sets DATABASE_URL; restart the preview (stop_preview + start_preview) so the running app sees it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "attach_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | Project id (or use session from use_project) |