sample_data
Sample rows from a database table using random, first, last, or stratified methods. Set the table name, number of rows, and optional WHERE clause to extract a representative data subset.
Instructions
Выборка строк из таблицы.
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": "sample_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| where | No | ||
| method | No | random | |
| table_name | Yes | ||
| stratify_column | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |