manage_keyword_map
Manage keyword-to-table mappings to improve smart query accuracy. Actions include listing, adding, removing, or resetting mappings.
Instructions
Manage keyword-to-table-name mappings. After inspecting the schema with list_tables, register domain-specific mappings to improve smart_query table-matching accuracy. e.g., {"revenue": ["payment"], "creator": ["creator"]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| keywords | No | Keywords to remove (required when action=remove). e.g., ["revenue", "order"] | |
| mappings | No | Mappings to add (required when action=add). e.g., {"revenue": ["payment", "billing"]} | |
| data_source_id | Yes | Data source ID |