get_vertex_positions
Retrieve vertex positions from a mesh object in local or world coordinates. Optionally specify vertex indices or cap the number returned.
Instructions
Read vertex positions from a mesh object.
Parameters:
name: Mesh object name
indices: Comma-separated vertex indices to retrieve (returns all if omitted)
world_space: True = world coordinates (default), False = local/object coordinates
max_verts: Safety cap when retrieving all vertices (default 2000)
Returns JSON with each vertex's index and [x, y, z] position.
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": {
"name": "<name>"
},
"name": "get_vertex_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| indices | No | ||
| max_verts | No | ||
| world_space | No |