Drive the debug inspector of a running game
gripforge_debug_setSend ops of gripforge.debug/1 to the debug inspector of a game open in a browser by a member of its workspace, then read the snapshot: { op: "mode", wireframe?, colliders?, bounds? } (wireframe, collision boxes, mesh bounds), { op: "tree", root?, depth?, maxNodes? }, { op: "select", ids }, { op: "hide", id, hidden }, { op: "outline", id, on }, { op: "reset" } (show everything, no outline), { op: "extension", id, on } (a debug mode of a kit, e.g. ai.navigation.paths), { op: "open" } / { op: "close" } (the panel on screen). Ids are those of the snapshot tree. Nothing is saved in the project. Same rights as the panel: members of the workspace. 0 credits.
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_id": "<project_id>",
"ops": "<ops>"
},
"name": "gripforge_debug_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | One op or a list of ops. | |
| project_id | Yes | Game Kit project id (gkp_…). Not a dedicated-server project (gpj_…) nor a Library item. | |
| session_id | No | A play session (play-…) of gripforge_runtime_sessions; default: the latest play page of the project. | |
| wait_seconds | No | Seconds to wait for the page to answer (default 8); 0 answers at once with status received. | |
| workspace_id | No | Workspace authorized by the current key. Never infer another user’s workspace. |