publish_preview
Build the app in PN_APP_DIR (or the current folder) with the simulated device and publish a shareable web preview to here.now, no account. The link is PUBLIC and expires in 24 hours; claimUrl keeps it. Returns { url, claimUrl, expiresAt }. Needs @shipvo/cli (npx). Slow: waits up to wait_ms (default 20000), then returns { status: "running", job }; call job_status with that job. Calling again while it runs returns the same job.
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": "publish_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait_ms | No | How long to wait for the result before returning { status: "running", job } (default 20000). Read it later with job_status. |