Look at the model
screenshotRenders the model and returns a picture about 1024 px wide. Take one after building or changing something to check the shape against what was asked, when the user refers to what they see or to their markup, and before answering a question about how the design looks. Numbers (volumes, bounding boxes) still come from get_document and mass_properties: a picture shows the shape, not exact sizes.
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": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | Fit the model in view (default true). | |
| view | No | Direction: iso (default), a named view, or current (the user's own view). | |
| markup | No | Include the user's markup - the pen strokes, arrows, circles, dimension lines and notes they drew over the view in ProtoJoint. The picture is then taken from the view the markup was drawn in, whatever view says. Use it when the user mentions their markup or drawing, or the document summary lists markup_annotations. | |
| section | No | Cut the model by the plane axis = value for this picture only, the cut faces filled, to see inside: wall thickness, a lid lip in its groove, a snap hook in its catch, a board on its standoffs, a port in its opening. Look at it square on (e.g. front for a y section). | |
| dimensions | No | Write sizes on the picture: the bounding box of the visible bodies with its X, Y and Z lengths in mm, and the dimension values of the sketch being edited. Their numbers come back in the text too. | |
| hide_bodies | No | Bodies left out of this picture only, to see what is inside or behind them. |