view_lsd
View SQL evaluation results and visual playback by entering LSD SQL code to analyze web data through a queryable database structure.
Instructions
"Returns a URL to a page where the user can view results as well as a visual playback of LSD SQL evaluation
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"lsd_sql_code": "<lsd_sql_code>"
},
"name": "view_lsd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lsd_sql_code | Yes |
Implementation Reference
- app.py:51-54 (handler)The handler function for the 'view_lsd' tool. It generates and returns a URL where the user can view the results of an LSD SQL query along with a visual playback of its evaluation.
@mcp.tool() 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)}"