Describe the CoraDB schema
describe_schemaReads live database catalog metadata for tables, views, vertex and edge tables, including columns, keys and indexes, to inspect schema before writing queries. Describe a single object when needed.
Instructions
The tables, views, vertex (node) tables and edge tables of a database with their columns, keys and indexes, read from the live catalog as the given user sees it. Give object for a single table. Read this before writing queries.
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": "<database>"
},
"name": "describe_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | CoraDB broker host. Default: localhost. | |
| port | No | CoraDB broker port. Default: 33000. | |
| user | No | Database user. Default: dba. | |
| format | No | text (default): CREATE-like summary. json: the CoraDB schema document. | |
| object | No | One table, view, vertex or edge table to describe (case-insensitive). | |
| refresh | No | Read the catalog again instead of using the copy kept for a few minutes. | |
| database | Yes | The database to open. | |
| password | No | Password of that user. Default: empty. |