get_sample_data
Preview Formula 1 data by retrieving top 10 rows from a selected table. Use optional filters with AND/OR logic to inspect relevant records before building custom queries.
Instructions
Get sample data (top 10 rows) from a table with optional filters.
Args: table_name: Name of the table to query filters: List of filters with format [{"column": "col_name", "operator": "=", "value": "value"}].(Make sure value is proper format int/string/float) join_logic: Combine filters with "AND" or "OR"
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": "get_sample_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | No | ||
| join_logic | No | AND | |
| table_name | Yes |