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

loadIdstringrequired

Visible ARK load ID whose miles should be calculated and stored.

format: uuid

trailerstring

min length: 1; max length: 100

sizestring

min length: 1; max length: 50

hazmatboolean

Result

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.