Read Studio database
read_msty_databaseRun read-only SQL queries against the Msty Studio SQLite database to retrieve stats, table lists, or rows without changing data. Use SELECT, WITH, or PRAGMA statements for structured JSON results.
Instructions
Run a read-only query against the Studio SQLite database. Use query=stats or query=tables for overviews, or a SELECT/WITH/PRAGMA statement. Do not use this to change data. Credential columns read as NULL. Returns JSON with query_type and either stats, a table list, or rows.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "read_msty_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum SQL rows to return. Integer from 1 to 500. Default 100. | |
| query | No | stats, tables, or a read-only SQL SELECT/WITH/PRAGMA statement. Default stats. | stats |
| workspace | No | Optional Studio workspace name, slug or id from list_workspaces. Omit for the active workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |