Query the database, takes natural language. Always call before showing a chart or graph.
(query: str)
| 10 | |
| 11 | @tool |
| 12 | def query_data(query: str): |
| 13 | """ |
| 14 | Return the bundled sample business dataset, NOT live business data. |
| 15 | The query is context only; this tool returns all rows without filtering. |
| 16 | Use only when the user wants sample data. Do not call for unrelated charts. |
| 17 | """ |
| 18 | return { |
| 19 | "source": "Bundled db.csv sample dataset", |
nothing calls this directly
no outgoing calls
no test coverage detected