sample_data
Retrieve a random sample of rows from any table to preview data structure and values. Ideal for exploratory analysis without full table scans.
Instructions
Sample data from a table efficiently
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": "sample_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name | |
| schema | No | Schema name (optional) | |
| limit | No | Number of rows to sample (default: 100) |