按关键字搜索表和列
dm_search_objectsFind database fields by entering any keyword, matching table names, column names, and column comments (including Chinese), then returns owning table, column type, and comment.
Instructions
按关键字跨表搜索:表名、列名、列注释三处任一命中即返回,同时给出所属表、列类型和注释。适合"哪个表里有手机号字段""跟退款相关的列在哪"这类探索。中文注释也能搜(例如搜"订单")。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回行数,默认 50 | |
| owner | No | 限定模式名,不传则搜索全部可访问模式 | |
| offset | No | 跳过的行数 | |
| keyword | Yes | 搜索关键字,会同时匹配表名、列名和列注释,不区分大小写 | |
| response_format | No | 输出格式 | markdown |