query_f1_database
Run read-only SQL SELECT queries on a local Formula 1 history database (1950 onward) to answer historical questions other tools do not cover. Call describe_f1_database first; results cap at 500 rows.
Instructions
Run one read-only SELECT on the local F1 history database (F1DB, 1950 to the latest race) for any historical question the other tools don't cover: e.g. 'most wins from pole', 'drivers with a win at every track', 'Ferrari points by season'. Call describe_f1_database first. Max 500 rows, 15 seconds; only SELECT is allowed.
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": {
"sql": "<sql>"
},
"name": "query_f1_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| max_rows | No |