map_zoom_to_fit
Automatically adjust zoom and pan to fit all nodes into the viewport, with configurable padding for spacing.
Instructions
Auto-fit all nodes into the viewport by adjusting zoom and pan.
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": "map_zoom_to_fit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| padding | No | Padding around content in pixels (default 80) |