Get datasource schema
appsmith_get_datasource_structureRetrieve the introspected schema of an Appsmith datasource, including tables, columns, and keys, by providing its datasource ID. Optionally force a fresh introspection to bypass cached structure data.
Instructions
Returns the introspected schema (tables, columns, keys) of a datasource.
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": "appsmith_get_datasource_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Force a fresh introspection instead of the cached structure. | |
| datasourceId | Yes | Datasource id. |