Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ScreentimeSqlToolDesc string
Functions ¶
func QueryToolHandler ¶
func QueryToolHandler(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error)
QueryToolHandler handles the query tool request, taking the SQL query from the request parameters and marshalling the results to CSV.
func SetDatabase ¶
SetDatabase sets the DuckDB connection for the MCP server.
Types ¶
Click to show internal directories.
Click to hide internal directories.