search_tables
Find tables matching a name pattern in a datasource to identify and confirm table names for data reconciliation tasks.
Instructions
🔍 CRITICAL - USE FIRST when user mentions a table name. Search for tables by name pattern. NEVER assume table names exist - always search first. Example: User says 'orders table' → search pattern 'order' to find 'orders', 'order_items', etc. Then confirm with user which table they mean.
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": {
"datasource_name": "<datasource_name>",
"pattern": "<pattern>"
},
"name": "search_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datasource_name | Yes | ||
| pattern | Yes | Search pattern - matches any table containing this text | |
| database | No | Optional: limit search to specific database |