get_table_sample
Preview table data by fetching a sample of up to 20 rows. Supports database.table notation for cross-database lookups.
Instructions
Fetch a representative sample of rows (max 20) from a table.
Accepts database.table notation for cross-database lookups.
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_name": "<table_name>"
},
"name": "get_table_sample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| table_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |