Preview logs
preview_logsRetrieve recent stdout/stderr from an active preview to diagnose runtime errors.
Instructions
Recent stdout/stderr from a running preview — use this to debug.
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": {
"app": "<app>"
},
"name": "preview_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| lines | No |