get_table_schema
Retrieve the full DDL schema definition for any table, materialized view, view, or live view in QuestDB to understand its structure.
Instructions
Get the full schema definition (DDL) for a specific table, materialized view, view or live view
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": {
"table_name": "<table_name>"
},
"name": "get_table_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | The name of the table, materialized view, view or live view to get schema for |