spawn_logs
Fetch variant and live room script logs to diagnose script syntax and runtime errors when behavior doesn't match a pushed update. Requires an active live room.
Instructions
Variant logs + live room script logs. Use when behavior doesn't match what you pushed — script syntax and runtime errors surface here, not in a push receipt. Needs a live room: spawn_client_join stands your own body and boots one without a browser.
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": "spawn_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectDir | No | Absolute path to the Spawn game project (game.json / .env). Defaults to SPAWN_PROJECT_DIR or the MCP process cwd. |