Check Document Package Integrity
check_document_packageValidates a package of 2-20 related trade finance documents for cross-document consistency. Call this BEFORE approving any multi-document trade finance transaction or cross-border shipment -- at the moment a set of 2-20 related documents arrives from an external party and funds have not been released. Use this when your agent has received a full trade finance package — such as invoice, bill of lading, and certificate of origin together — and must verify all documents are consistent with each other before releasing funds. Returns PASS/FLAG/FAIL verdict per document with mismatch details. Cross-checks all documents for consistency across numeric values, party names, reference numbers, dates, and commodity descriptions. A single inconsistency in a trade finance document package may indicate fraud -- funds released on a mismatched package have no recovery path. Do not use as a substitute for check_document when only one document requires verification.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"documents": "<documents>"
},
"name": "check_document_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documents | Yes | Array of 2 to 20 related documents to assess individually and cross-check against each other. Each document must have a unique label. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verdict | Yes | ||
| documents | Yes | ||
| checked_at | Yes | ||
| confidence | Yes | ||
| _disclaimer | Yes | ||
| verdict_ttl | Yes | ||
| agent_action | Yes | ||
| analysis_type | Yes | ||
| calls_remaining | Yes | ||
| package_verdict | Yes | ||
| data_source_status | Yes | ||
| package_agent_action | Yes | ||
| cross_document_conflicts | Yes |