search_schema
Search the current database schema by keyword to locate matching tables, columns, or field types, returning up to 50 results.
Instructions
按关键词搜索当前数据库 schema,匹配表名、列名和字段类型。适合在大库中快速定位相关表或字段,响应最多返回前 50 个命中项。
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": "search_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | Yes | 搜索关键词,会与表名、列名、字段类型做大小写不敏感匹配 |