公共行情SQL搜名称
market_data_search_nameQuery stocks by code or name using local market data. Get fuzzy matches directly from the cache, avoiding external API lookups.
Instructions
在本地 stock_info 中按代码/名称模糊搜索(替代每次现拉 gtimg 名称)。
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": {
"keyword": "<keyword>"
},
"name": "market_data_search_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | market_data.db 路径 | /app/data/market_data.db |
| limit | No | 返回条数 | |
| keyword | Yes | 代码或名称关键词 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |