Get data source schema
get_data_source_schemaList the tables and columns available in a connected data source, so you can write correct widget queries. Supported for PostgreSQL, MySQL, SQL Server, Oracle, Aurora, Redshift and Google Sheets.
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": {
"dataSourceId": "<dataSourceId>"
},
"name": "get_data_source_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | Return only this table. Useful when a database has many tables. | |
| dataSourceId | Yes | Data source id. |