Database schema
db_schemaTables of the project's database with columns, types, defaults, indexes, foreign keys and checks, approximate rows and size, and its views; env preview (default) or production. Before reading or changing live data, read the LIVE schema (env production): the preview may already have a table or column the live site doesn't have yet.
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": "<project>"
},
"name": "db_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | preview | |
| project | Yes | Project slug or id. |