capture_view
Renders model views as images so you can visually inspect a design for misplaced parts, wrong orientations, or floating components that numeric data alone does not show.
Instructions
Look at the model: pictures of the active document, returned as images you can see. Use it to check your work — a flange on the wrong side, a door opening the wrong way, a part floating off the frame — which the numbers alone don't show.
Args:
views: Comma-separated: iso, iso_left, iso_bottom, front, back, top, bottom, left,
right, current (the user's view). E.g. "iso,front,top".
width, height: Pixels per picture (keep them modest — each picture costs tokens).
background: "inventor" (its gradient) or "white".
fit_to: Assembly component paths, ","-separated — zoom to them, keeping each view's direction.
isolate: Component paths, ","-separated — show only these (and what is inside them);
the others are hidden for the picture. For details buried in an assembly.
sketches: Show sketches and work features too (hidden by default; restored after).
up: "y" = Inventor's own view names (its default templates have Y up); "z" for a
model built with Z up (frames, buildings): front looks along +Y, top down -Z.
With look_from: which axis is up in the picture, "x", "y" or "z".
look_from: Camera position [x, y, z] in mm, model coordinates — when a named view
looks from the wrong side, or for a detail. This picture is the view
"custom": it replaces the default "iso"; name it in views to mix
("custom,top").
target: With look_from: the point [x, y, z] in mm to look at and centre on — the
picture is then sized to fit_to (or the model); use zoom to get closer.
Empty = the middle of fit_to / the model, the whole of it in the picture.
zoom: 2 = twice as close, 0.5 = twice as far; every view.
perspective: With look_from: a perspective picture from that point, not parallel.
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": "capture_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| up | No | y | |
| zoom | No | ||
| views | No | iso | |
| width | No | ||
| fit_to | No | ||
| height | No | ||
| target | No | ||
| isolate | No | ||
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| sketches | No | ||
| look_from | No | ||
| background | No | inventor | |
| perspective | No |