get_sample_data
Retrieve sample rows from a table to preview data. Specify table, database, row count, and choose random sampling.
Instructions
Get sample rows from a table
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_sample_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Database name | |
| table | Yes | Table name (can include schema) | |
| rows | No | Number of rows to return (default: 10) | |
| random | No | Return random sample instead of first N rows |