lookup
Search within a SQL Server table or view using keyword fuzzy matching (LIKE), returning up to 100 matching rows. Optionally limit search to a specific column or specify a database connection.
Instructions
在指定的 TABLE 或 VIEW 中以關鍵字模糊搜尋(LIKE),最多回傳 100 筆
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": {
"table": "<table>",
"keyword": "<keyword>"
},
"name": "lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | No | 限定搜尋欄位(可選,不填則搜全部文字欄位) | |
| table | Yes | 資料表或 VIEW 名稱(用 list_tables 取得) | |
| keyword | Yes | 搜尋關鍵字 | |
| database | No | 要查詢的資料庫連線名稱(用 list_databases 取得可用清單)。若只設定一個連線可省略。 |