build_smoke_test
HTTP-checks a deployed app: the root loads with a title, app.js is the published bundle and dismisses the boot splash, and config.js has the project's namespace; optionally signs in and reads one entity. Inputs: project_uuid and url= (from build_deploy_status) or poll_url=, plus optional email, password, tenant, entity. Returns pass/fail per check. Useful after each deploy.
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": {
"project_uuid": "<project_uuid>"
},
"name": "build_smoke_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The deployed app URL (from build_deploy_status). | |
| No | Optional — a user to log in and verify data reads. | ||
| entity | No | Optional bare schema slug (e.g. 'participant') to read for the authed data check. | |
| tenant | No | Optional tenant for the login. Default '' so the server resolves the user's OWN tenant (required for a multi-tenant app whose test user lives in a named tenant). | |
| password | No | Optional — password for that user. | |
| poll_url | No | Alt to url: the build_deploy poll_url; the URL is resolved from it. | |
| project_uuid | Yes | The deployed project (for namespace + live_url). | |
| expected_app_js_sha1 | No | Optional — the first 12 lowercase hex chars of `sha1sum ui/app.js` (sha1 of your local bundle FILE). If given, smoke_test reports whether the DEPLOYED app.js matches, so you can confirm the deploy actually rolled (vs a stuck roll / stale cache serving the old bundle). Case-insensitive; a malformed value is reported as a warning, never a false mismatch. |