view_lsd
Generates a URL for viewing results and visual playback of LSD SQL evaluations, enabling users to analyze and interact with web data transformed into a queryable structure.
Instructions
"Returns a URL to a page where the user can view results as well as a visual playback of LSD SQL evaluation
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lsd_sql_code | Yes |
Implementation Reference
- app.py:52-54 (handler)Handler function that generates and returns a URL for viewing LSD SQL results with visual playback.def view_lsd(lsd_sql_code: str) -> str: """"Returns a URL to a page where the user can view results as well as a visual playback of LSD SQL evaluation""" return f"https://lsd.so/view?query={urllib.parse.quote_plus(lsd_sql_code)}"
- app.py:51-51 (registration)Registers the view_lsd tool using the @mcp.tool() decorator from FastMCP.@mcp.tool()