Get Table Sample
get_table_samplePreview sample records from a table, collection, index, or Redis key to inspect data structure and content without modifying the database.
Instructions
Get sample rows from a table, documents from a collection, hits from an index, or the first entries of a Redis key
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": "get_table_sample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of rows to return (1-50, default 5) | |
| table | Yes | Table, collection, index, or Redis key | |
| database | No | Optional database to read from for this call only, without changing the active connection |