foundry_measure_distance
Calculate the distance between two points or tokens in a Foundry VTT scene. Use coordinates or token UUIDs to determine range for movement and combat encounters.
Instructions
Measure distance between two points or tokens.
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": "foundry_measure_distance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | Optional Foundry user ID or username for permission-scoped access. | |
| originX | No | ||
| originY | No | ||
| sceneId | No | ||
| targetX | No | ||
| targetY | No | ||
| clientId | No | Foundry client ID; defaults to FOUNDRY_CLIENT_ID. | |
| originName | No | ||
| originUuid | No | ||
| targetName | No | ||
| targetUuid | No |