datamodel.get_table_schema
datamodel_get_table_schemaRetrieve a table's schema from a Sisense connection by providing connection, database, schema, and table names. Returns schema details or an error if not found.
Instructions
Retrieve the schema of a table within a connection's data source. Resolves the connection by name to obtain its oid and provider, then sends POST /api/v1/connection/{id}/table_schema_details.
Returns: dict[str, Any] Table schema details if found, or {"error": "..."} on failure or when no schema is found.
Note: This endpoint is undocumented and may change in future Sisense versions. Use with caution.
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": {
"connection_name": "<connection_name>",
"database_name": "<database_name>",
"schema_name": "<schema_name>",
"table_name": "<table_name>"
},
"name": "datamodel_get_table_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | Name of the table (sent as ``table``). | |
| schema_name | Yes | Name of the schema (sent as ``schema``). | |
| database_name | Yes | Name of the database (sent as ``Database``). | |
| connection_name | Yes | Name of the connection. |