look
Capture screenshots of the open three.js page, an object-ID image, and visible/unseen object lists with size and position to diagnose rendering, layout, lighting, and surface issues.
Instructions
Screenshot of the open page in the reply, an ID image beside it (one colour per object, the path with -ids before .png), and a list of what is on screen and the named objects no look has seen, with size and place. It sends no input; sheet, scroll, viewports and compare reload the page for their pictures. One mode a call: cameras, viewports, scroll, sheet, opening, zoom, at, target, save or compare. It ends with the lines the skill's references/lighting.md explains, the Lighting: and Surfaces: setup faults among them. A post-processed page is pictured as of its last drawn frame, so state set since shows after a step. Use observe for the state as numbers, reference to read or match a picture the page should look like, and interact with look: true for the picture after input. Modes in full: references/tools.md.
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": "look"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Up to 8 points [x, y] in the live page's pixels: the objects drawn at each, nearest first, with distance; text only; from `camera` when given. | |
| game | No | The name the game was opened under with the `open` tool, to act on ("main" by default; a subagent uses its own). | |
| save | No | Keep this look's picture as the baseline of this name (letters, digits, - or _). | |
| zoom | No | [left, top, right, bottom] in the live page's pixels (not a sheet's), as the plain look lists boxes, enlarged up to 4×; from `camera` when given. | |
| sheet | No | Up to 9 moments in one grid, each a fresh reload set with `state`, then `steps` (as `interact`) and `frames`. | |
| camera | No | This look's camera, { position, lookAt }, or a name: a refs/cameras.json picture's file name or a `cameras` label; for the plain look, zoom, at, save and compare. | |
| sample | No | Points [x, y] in the live page's pixels (with zoom, inside its box): each one's colour, a 5 × 5 mean. | |
| scroll | No | Scroll stops (shares of the page's scroll range) in one grid, each a fresh reload. | |
| target | No | An object in the main scene, alone from front, right, top and three-quarter views. | |
| cameras | No | Up to 9 cameras ({ position, lookAt, label } or a name) in one grid, no reload; a label is kept as a `camera` name. | |
| compare | No | A saved baseline's name: the page at its frame (a reload), the share of pixels that differ and a diff picture. | |
| opening | No | Picture the first 5 s after load in real time, as a viewer meets them (`open` pauses at frame 0). | |
| viewports | No | Sizes in one grid, each a fresh reload: phone (390 × 844, DPR 3), tablet (820 × 1180, 2), laptop (1440 × 900, 2), desktop (1920 × 1080, 1), or [width, height, dpr]. |