Describe the workspace database
describe_databaseCheck whether a workspace includes an SQL database, how much allowance is used, and whether data exists before building database-backed features; if not included, use the key-value store instead.
Instructions
Whether this workspace has its own SQL database, and how much of its allowance is used. Ask before building anything that needs one. included:false means the owner's plan has no database — that is an answer, not an error and not something to retry: say so and use the key-value store (get/set_workspace_data) instead. exists:false with included:true just means nothing has been written 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": {
"workspaceId": "<workspaceId>"
},
"name": "describe_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes |