playcal_observe
Runs a brief game session, diffs editor scene state before and during play, and collects console errors; captures a screenshot only when the run fails.
Instructions
press Play, run the game a few seconds, diff the scene and collect console errors; screenshot only on red
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": "playcal_observe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | screenshot file name without .png (default observe) | observe |
| read | No | Editor read to diff before and during play (default "scene get_hierarchy") | scene get_hierarchy |
| limit | No | most diff entries to list (default 50) | |
| scene | No | godot only: scene to run instead of the main scene (res://...) | |
| shots | No | where the red-run screenshot goes, relative to the Unity project (default .playcal/observe) | .playcal/observe |
| engine | No | unity talks to the open Editor; godot runs the main scene headless (default unity) | unity |
| expect | No | check on the read during play, same syntax as playcal loop --expect. Repeatable | |
| ignore | No | field to leave out of the diff, repeatable (default: instanceId, isDirty) | |
| repeat | No | run N times; some red and some green is inconclusive (exit 7), see playcal playtest | |
| no_play | No | don't touch Play Mode; diff two reads --seconds apart | |
| no_shot | No | never take a screenshot | |
| seconds | No | how long to let the game run before the second read (default 3) | |
| timeout | No | seconds to wait for a ready Editor (default 120) | |
| project_path | No | Unity project folder (needed when several Editors are open), or the Godot project folder |