eudr_inspect_payload_security
Scan inbound EUDR supplier payloads for prompt injection, malicious Python execution, and crop-yield anomalies before ingestion.
Instructions
Read-only pre-flight security firewall that scans inbound EUDR trade text and shipment metrics for prompt injections, malicious Python AST execution patterns (eval/exec/subprocess), and biological crop-yield inflation anomalies. Call before ingesting untrusted supplier payloads. Returns is_safe, threat_score, threats, and agronomic_verdict.
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": {
"text": "<text>"
},
"name": "eudr_inspect_payload_security"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Inbound text, supplier note, or system instructions to scan for prompt injection or code exploits. | |
| hs_code | No | Optional 6-digit Harmonized System tariff code. | |
| commodity | No | Optional commodity name for biological yield sanity check (e.g. 'coffee', 'cocoa', 'wood', 'oil_palm'). | |
| total_area_ha | No | Optional total cultivation area in hectares across production plots. | |
| declared_net_mass_kg | No | Optional declared harvest or shipment net mass in kilograms. |