sample_rows
Retrieve a few rows from a table to inspect real data formats and missing value codes (e.g., 96/97/98/99).
Instructions
从一张表里抽几行真实数据看看。用来确认取值形态——特别是缺失值编码(96/97/98/99 之类)和字段的实际格式。
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": {
"schema": "<schema>",
"table": "<table>"
},
"name": "sample_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 取几行 | |
| table | Yes | 表名,大小写敏感 | |
| schema | Yes | schema 名 | |
| columns | No | 只看这几列。表很宽(可能上百列)时强烈建议指定 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||