get_table_sample
Retrieve a sample of rows from a Hive table to preview data. Specify database, table, and row count to quickly inspect table contents.
Instructions
Preview the first limit rows of database.table (1..100).
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": {
"database": "<database>",
"table": "<table>"
},
"name": "get_table_sample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| table | Yes | ||
| database | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |