MCPcopy Create free account
hub / github.com/CopilotKit/OpenGenerativeUI / query_data

Function query_data

apps/agent/src/query.py:12–16  ·  view source on GitHub ↗

Query the database, takes natural language. Always call before showing a chart or graph.

(query: str)

Source from the content-addressed store, hash-verified

10
11@tool
12def query_data(query: str):
13 """
14 Query the database, takes natural language. Always call before showing a chart or graph.
15 """
16 return _cached_data

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected