Skip to main content

get-parcel-by-id

Look up a single parcel by its numeric parcel ID and return its full detail. A parcel is the physical file container that carries one or more EDI interchanges through a mailbox. Use when the caller has a numeric parcel ID and wants the parcel's routing, identification, current status, and the interchanges inside it. Returns NOT_FOUND when no parcel matches the ID. Results are scoped to the caller's APIKey — another tenant's parcel surfaces as NOT_FOUND.

ℹ️ Interactive UI Component: This tool renders a visual widget in Claude Desktop and Claude.ai alongside the AI's response.

Tool Name

connectivity_parcel_get-parcel-by-id

Auth Level Required

Any (scoped to caller's APIKey)

Parameters

ParameterTypeRequiredDescription
request.parcelIdinteger (int64)YesThe numeric parcel ID — the internal 64-bit primary key of the parcel to look up. Positive integer >= 1. Example: 987654321. Same value returned by connectivity_parcel_list-inbox-parcels, connectivity_parcel_list-outbox-parcels, and connectivity_parcel_list-pending-inbox-parcels. Values of 0 or below are rejected as VALIDATION_ERROR.

Response

Returns the parcel's identification, routing, current status, and the interchanges it contains.

{
"parcelId": 987654321,
"parcelDate": "2026-07-01T10:30:00Z",
"parcelBytes": 4096,
"fileName": "ACME_850_20260701.edi",
"mailbagControlId": "MB-20260701-001",
"status": {
"code": 200,
"description": "InBoxReady",
"statusDate": "2026-07-01T10:30:15Z"
},
"from": {
"networkId": 7,
"networkName": "ECGrid Production",
"mailboxId": 142,
"mailboxName": "acme-prod@example.com"
},
"to": {
"networkId": 7,
"networkName": "ECGrid Production",
"mailboxId": 200,
"mailboxName": "buyer-prod@retailer.com"
},
"interchanges": [
{
"interchangeId": 112233,
"statusCode": 200,
"statusDescription": "InBoxReady",
"statusDate": "2026-07-01T10:30:15Z",
"documentType": "850"
}
],
"interchangeCount": 1
}

Response Fields

FieldTypeDescription
parcelIdinteger (int64)Unique numeric parcel ID
parcelDatestringISO 8601 timestamp when the parcel was received/created
parcelBytesintegerSize of the parcel file in bytes
fileNamestringOriginal file name of the parcel
mailbagControlIdstringMailbag control ID assigned at submission
status.codeintegerNumeric status code
status.descriptionstringHuman-readable status description
status.statusDatestringISO 8601 timestamp of the most recent status change
from.networkIdintegerNetwork ID of the sending party
from.networkNamestringNetwork name of the sending party
from.mailboxIdintegerMailbox ID of the sending party
from.mailboxNamestringMailbox name of the sending party
to.networkIdintegerNetwork ID of the receiving party
to.networkNamestringNetwork name of the receiving party
to.mailboxIdintegerMailbox ID of the receiving party
to.mailboxNamestringMailbox name of the receiving party
interchangesarrayList of interchanges contained in this parcel
interchanges[].interchangeIdintegerUnique interchange ID
interchanges[].statusCodeintegerNumeric status code for this interchange
interchanges[].statusDescriptionstringHuman-readable interchange status
interchanges[].statusDatestringISO 8601 timestamp of the interchange's most recent status change
interchanges[].documentTypestringEDI transaction set / document type (e.g. 850, 810)
interchangeCountintegerTotal number of interchanges in the parcel

Example Call

{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "connectivity_parcel_get-parcel-by-id",
"arguments": {
"request": { "parcelId": 987654321 }
}
}
}

Example Prompts

  • Show me parcel 987654321
  • What's the status of this parcel?
  • Which interchanges does parcel 12345 contain?

See Also