read_table
Fetch rows from a numeric game table with column selection, filters (eq, ne, gt, contains), and pagination. Returns first 20 rows; list_tables provides table and column names.
Instructions
读取工作区内指定数值表的数据行。支持列选择、条件过滤(eq/ne/gt/gte/lt/lte/contains)、分页(offset/limit,默认前 20 行)。先用 list_tables 拿到表名和列名。
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>"
},
"name": "read_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回行数上限(默认 20,全表导出可设大) | |
| table | Yes | 表名,如 hero/成长表(来自 list_tables 的 table 字段) | |
| filter | No | 过滤条件,多条件 AND(可选) | |
| offset | No | 跳过前 N 行(默认 0) | |
| columns | No | 只返回指定列(可选) |