MCP documentation | MCP docs for agents
ark_calculate_load_miles
ark.calculate_load_miles
Calculate truck route miles for a visible ARK load from stop coordinates, then store total miles, per-stop miles, and route geometry.
- Availability
- Expanded preview
- Scopes
loads:write- ARK permissions
canEditLoad- Team visibility
- Required and enforced
- Approval policy
ask_before_write- ARK approval request
- Required before execution
- Idempotency
- Required for external execution
- Read-only
- No
- Destructive
- No
- External side effect
- Yes
- Rate limit
- OAuth MCP credential and organization budgets
Input
loadIdstringrequiredVisible ARK load ID whose miles should be calculated and stored.
format: uuid
stopsarray<object>requiredStop coordinates ordered by stopIndex; count must match persisted load stops.
min items: 2; max items: 25
trailerstringmin length: 1; max length: 100
sizestringmin length: 1; max length: 50
dimensionsobjecthazmatbooleanResult
The tool returns the canonical ark.calculate_load_miles operation result in structuredContent and mirrors the same JSON as text. Errors set isError: true and return a stable error code, message, and optional details.