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"]}
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": {
"data_source_id": "<data_source_id>",
"action": "<action>"
},
"name": "manage_keyword_map"
}
}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 |