AI tools — DMS

10 tools. The latest schema is always in dms_tool_catalog once connected.

Daily route plan details

ReadScope: dms:read
dms_daily_plans_get

Details of one daily route plan: stops and the status of each stop.

ParameterTypeRequiredDescription
idstringyesPlan id (from dms_daily_plans_search)

Or call over REST with an API key

curl -X POST https://api.nextx.vn/api/v1/ai/tools/dms/dms_daily_plans_get/read \
  -H "X-Api-Key: $API_KEY" -H "Content-Type: application/json" \
  -d '{"id":"0199a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b"}'
MCP call example (for AI assistants)

AI assistants send this call themselves when you ask in plain words; you only need it when debugging an MCP connection.

{
  "name": "dms_daily_plans_get",
  "arguments": {
    "args": {
      "id": "0199a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b"
    }
  }
}

On-van stock by SKU

ReadScope: dms:read
dms_van_inventory_get

Current on-van stock for the given SKUs across unclosed shifts: loaded, sold, returned, adjusted and remaining, with van, date and shift status.

ParameterTypeRequiredDescription
productSkusstring[]yesList of SKUs

Or call over REST with an API key

curl -X POST https://api.nextx.vn/api/v1/ai/tools/dms/dms_van_inventory_get/read \
  -H "X-Api-Key: $API_KEY" -H "Content-Type: application/json" \
  -d '{"productSkus":["SP001","SP002"]}'
MCP call example (for AI assistants)

AI assistants send this call themselves when you ask in plain words; you only need it when debugging an MCP connection.

{
  "name": "dms_van_inventory_get",
  "arguments": {
    "args": {
      "productSkus": [
        "SP001",
        "SP002"
      ]
    }
  }
}

Low on-van stock

ReadScope: dms:read
dms_van_inventory_low_stock

SKUs on vans (unclosed shifts) with stock at or below a threshold, lowest first.

ParameterTypeRequiredDescription
thresholdintegeryesStock threshold

Or call over REST with an API key

curl -X POST https://api.nextx.vn/api/v1/ai/tools/dms/dms_van_inventory_low_stock/read \
  -H "X-Api-Key: $API_KEY" -H "Content-Type: application/json" \
  -d '{"threshold":10}'
MCP call example (for AI assistants)

AI assistants send this call themselves when you ask in plain words; you only need it when debugging an MCP connection.

{
  "name": "dms_van_inventory_low_stock",
  "arguments": {
    "args": {
      "threshold": 10
    }
  }
}

Van loading history

ReadScope: dms:read
dms_van_load_history

Van loading slip history by date range: slip code, created time, driver, status, line count and lines issued differently from the request; paginated with total.

ParameterTypeRequiredDescription
dateFromstringnoFrom date (YYYY-MM-DD)
dateTostringnoTo date (YYYY-MM-DD)
statusstringnoSlip status
pageintegernoPage, starting at 1
pageSizeintegernoRows per page, max 50

Or call over REST with an API key

curl -X POST https://api.nextx.vn/api/v1/ai/tools/dms/dms_van_load_history/read \
  -H "X-Api-Key: $API_KEY" -H "Content-Type: application/json" \
  -d '{"dateFrom":"2026-10-20","dateTo":"2026-10-27"}'
MCP call example (for AI assistants)

AI assistants send this call themselves when you ask in plain words; you only need it when debugging an MCP connection.

{
  "name": "dms_van_load_history",
  "arguments": {
    "args": {
      "dateFrom": "2026-10-20",
      "dateTo": "2026-10-27"
    }
  }
}