Query cataloged read-only data
query_read_only_dataExecute parameterized read-only SQL queries against cataloged fitness-data views to retrieve paginated results for a chosen athlete, with safeguards that reject mutations, filesystem access, and system tables.
Instructions
Advanced fallback after describe_data/describe_dataset: one parameterized SELECT or WITH … SELECT over cataloged views only. Do not query information_schema, DuckDB system tables, or uncataloged physical relations. Results use deterministic cursor pagination and always report whether they are incomplete. Filesystem access, extensions, DDL, and mutation are rejected. Requires athleteId from list_athletes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| cursor | No | ||
| values | No | ||
| pageSize | No | ||
| athleteId | Yes |