Check an app without deploying
check_appBuilds the files, type checks them and loads the server in a sandbox, without deploying anything. Returns ok with the queries, mutations, tables and tools the app declares, or ok false with diagnostics that carry file, line and message. Call it before deploy_app and fix every diagnostic.
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": {
"files": "<files>"
},
"name": "check_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | The whole app as {"relative/path": "file content"}. server/index.ts and client/index.tsx are required. Text files only (.ts .tsx .js .jsx .mjs .json .md .svg .txt .css .html). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ms | No | ||
| ok | Yes | ||
| code | No | ||
| name | No | ||
| error | No | ||
| sizes | No | ||
| manifest | No | ||
| warnings | No | ||
| diagnostics | No |