center_on_node
Center the viewport on any node by providing its ID, helping you locate nodes after creation.
Instructions
Center the user's viewport on a specific node. Useful after creating nodes to show the user where they were placed.
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": {
"node_id": "<node_id>"
},
"name": "center_on_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | ID of the node to center the view on. |