{"status":"success","protocol":"OpenAI / Anthropic / Gemini Compatible Tool Calling","tool_count":15,"tools":[{"name":"eudr_verify_plot","description":"Validates GIS coordinates and polygon boundaries against EUDR (EU 2023/1115) Art. 9 standards. Auto-heals inverted coordinates and self-intersecting polygons. DO NOT use as an official regulatory legal filing without independent manual verification. Computed as an algorithmic heuristic data reference.","parameters":{"type":"object","properties":{"plot_id":{"type":"string","description":"Unique identifier for the production plot or farm."},"country_code":{"type":"string","description":"ISO 3166-1 alpha-2 country code of plot origin (e.g. 'ID', 'BR', 'CI', 'GH', 'VN')."},"commodity":{"type":"string","enum":["cocoa","coffee","oil_palm","rubber","soya","cattle","wood"],"description":"EUDR regulated commodity produced on this plot."},"coordinates":{"type":"array","description":"Coordinates in WGS84 format. Either [longitude, latitude] for point, or [[lng, lat], [lng, lat], ...] for polygon boundary.","items":{"type":"array","items":{"type":"number"}}},"area_hectares":{"type":"number","description":"Plot surface area in hectares. Plots >= 4.0 hectares strictly require polygon boundaries."}},"required":["plot_id","country_code","commodity","coordinates"]}},{"name":"eudr_check_deforestation","description":"Performs satellite radar triangulation and canopy loss detection against the EUDR cut-off date of 31 December 2020. DO NOT use as an official regulatory legal filing without independent manual verification. Computed as an algorithmic heuristic data reference.","parameters":{"type":"object","properties":{"plot_id":{"type":"string","description":"Identifier of the plot being audited."},"country_code":{"type":"string","description":"ISO 3166-1 alpha-2 country code."},"coordinates":{"type":"array","description":"WGS84 coordinates of the plot or centroid."},"cutoff_date":{"type":"string","default":"2020-12-31","description":"Regulatory baseline cut-off date (EUDR mandatory: 2020-12-31)."}},"required":["plot_id","country_code","coordinates"]}},{"name":"eudr_verify_vies_vat","description":"Validates European Union B2B cross-border VAT numbers in real-time via the official EU Commission VIES engine.","parameters":{"type":"object","properties":{"country_code":{"type":"string","description":"EU Member State 2-letter code (e.g. 'FR', 'DE', 'IT', 'NL', 'BE', 'ES')."},"vat_number":{"type":"string","description":"National VAT registration number without the country prefix."}},"required":["country_code","vat_number"]}},{"name":"eudr_generate_dds","description":"Generates an EU TRACES-NT compliant Due Diligence Statement (DDS) XML package with official EUDR reference ID.","parameters":{"type":"object","properties":{"operator_name":{"type":"string","description":"Legal name of the EU importing operator."},"operator_vat":{"type":"string","description":"Operator EU VAT / EORI number."},"commodity":{"type":"string","enum":["cocoa","coffee","oil_palm","rubber","soya","cattle","wood"],"description":"Regulated commodity."},"total_net_mass_kg":{"type":"number","description":"Total shipment net mass in kilograms."},"plot_ids":{"type":"array","items":{"type":"string"},"description":"List of certified plot IDs included in this due diligence batch."}},"required":["operator_name","operator_vat","commodity","total_net_mass_kg","plot_ids"]}},{"name":"eudr_verify_audit_integrity","description":"Verifies SHA-256 cryptographic chain of custody and tamper-evidence for an EUDR compliance audit bundle.","parameters":{"type":"object","properties":{"audit_payload":{"type":"object","description":"Audit record dictionary containing reference_id, plots, timestamp, and signature."},"expected_hash":{"type":"string","description":"Cryptographic SHA-256 hash to verify against."}},"required":["audit_payload","expected_hash"]}},{"name":"eudr_estimate_compliance_cost","description":"Calculates estimated tier pricing and clearing fees in EUR for EUDR plot verification and TRACES-NT filing.","parameters":{"type":"object","properties":{"num_plots":{"type":"integer","description":"Number of production plots/farms to process."},"satellite_resolution":{"type":"string","enum":["sentinel_10m","high_res_optical_3m"],"default":"sentinel_10m","description":"Satellite imagery resolution tier."},"include_traces_submission":{"type":"boolean","default":true,"description":"Whether automated TRACES-NT B2G XML dispatch is requested."}},"required":["num_plots"]}},{"name":"eudr_create_payment_order","description":"Creates an on-chain USDC payment order for SaaS plan subscription with budget guardrails. Returns deposit wallet address, amount, invoice number, and QR payload.","parameters":{"type":"object","properties":{"plan_tier":{"type":"string","enum":["PRO","ENTERPRISE","STARTER"],"description":"Subscription tier to purchase."},"company_name":{"type":"string","description":"Legal company name."},"contact_email":{"type":"string","description":"Contact email for invoice delivery."},"chain":{"type":"string","enum":["Base (Low Gas $0.01)","Polygon (PoS)","Arbitrum One","Ethereum (ERC-20)","Solana (SPL-USDC)"],"default":"Base (Low Gas $0.01)","description":"Blockchain network for USDC payment."},"max_budget_usdc":{"type":"number","description":"Optional AI Agent safety budget cap. Raises error if order amount exceeds this ceiling."},"billing_country":{"type":"string","description":"Country of tax registration."},"vat_number":{"type":"string","description":"Optional EU VAT number."}},"required":["plan_tier","company_name","contact_email"]}},{"name":"eudr_confirm_payment","description":"Validates on-chain transaction hash for a payment order and issues the activated Pro API Key.","parameters":{"type":"object","properties":{"order_id":{"type":"string","description":"Payment order ID (e.g. 'ORD-XXXXXXXXXX')."},"tx_hash":{"type":"string","description":"On-chain transaction hash confirming the USDC transfer."}},"required":["order_id","tx_hash"]}},{"name":"eudr_agent_micro_pay","description":"Executes autonomous real-time on-chain USDC micro-settlement per plot or batch. Human checkout is excluded.","parameters":{"type":"object","properties":{"agent_id":{"type":"string","description":"Unique autonomous agent identifier or wallet address."},"num_plots":{"type":"integer","description":"Number of plots to verify ($0.10 USDC / plot)."},"chain":{"type":"string","enum":["Base (Low Gas $0.01)","Polygon (PoS)","Arbitrum One","Solana (SPL-USDC)"],"default":"Base (Low Gas $0.01)","description":"Blockchain network for USDC micro-payment."},"tx_hash":{"type":"string","description":"On-chain transaction hash proving USDC transfer to deposit wallet."},"sender_wallet":{"type":"string","description":"Agent smart wallet or EOA address."}},"required":["agent_id","num_plots","tx_hash","sender_wallet"]}},{"name":"eudr_get_agent_budget_status","description":"Queries live plot quota, spent USDC, and autonomous safety budget status for the calling agent.","parameters":{"type":"object","properties":{"agent_id":{"type":"string","description":"Unique autonomous agent ID or public wallet address."}},"required":["agent_id"]}},{"name":"eudr_render_satellite_map","description":"Generates visual multi-spectral satellite imagery metadata and NDVI canopy density radar visualization for an EUDR plot.","parameters":{"type":"object","properties":{"plot_id":{"type":"string","description":"Target plot identifier."},"coordinates":{"type":"array","description":"WGS84 coordinates of the plot."},"year":{"type":"integer","enum":[2020,2026],"default":2020,"description":"Year of observation (2020 regulatory cut-off baseline vs 2026 present)."},"layer":{"type":"string","enum":["true_color_optical","ndvi_vegetation","sar_radar_change"],"default":"ndvi_vegetation","description":"Visualization layer type."}},"required":["plot_id","coordinates"]}},{"name":"eudr_export_traces_xml","description":"Generates European Commission TRACES-NT XML (XSD v2.4 compliant) document with cryptographic digital signature for official EU customs filing under Regulation (EU) 2023/1115.","parameters":{"type":"object","properties":{"operator_name":{"type":"string","description":"Name of EU importing operator."},"operator_eori":{"type":"string","description":"Operator EORI number (e.g. 'NL123456789000')."},"commodity":{"type":"string","description":"Commodity description (e.g. Cocoa, Coffee, Timber)."},"hs_code":{"type":"string","description":"Harmonized System 6-digit tariff code."},"net_mass_kg":{"type":"number","description":"Consignment net weight in kilograms."},"plots":{"type":"array","description":"List of certified production plots with plot_id, country_code, area_hectares, and geometry.","items":{"type":"object"}}},"required":["operator_name","operator_eori","hs_code","net_mass_kg","plots"]}},{"name":"eudr_generate_customs_certificate","description":"Generates official EU Single Window Environment for Customs (EU SWE-C) Green Lane Clearance Certificate HTML with verification QR code and official seals.","parameters":{"type":"object","properties":{"operator_name":{"type":"string","description":"Name of authorized operator."},"operator_eori":{"type":"string","description":"Operator EORI number."},"hs_code":{"type":"string","description":"Customs tariff HS code."},"commodity_desc":{"type":"string","description":"Commercial commodity description."},"net_mass_kg":{"type":"number","description":"Declared net mass in kilograms."},"plots_count":{"type":"integer","description":"Total number of verified plots."},"total_area_ha":{"type":"number","description":"Total surface area in hectares."},"origin_country":{"type":"string","default":"XX","description":"ISO 3166-1 alpha-2 origin country code."}},"required":["operator_name","operator_eori","hs_code","net_mass_kg"]}},{"name":"eudr_send_telegram_alert","description":"Dispatches instant real-time compliance alert, post-2020 deforestation warning, or TRACES-NT clearance notice to Telegram bot.","parameters":{"type":"object","properties":{"alert_type":{"type":"string","enum":["deforestation","dds_approved","supplier_submission"],"description":"Category of real-time alert."},"plot_id":{"type":"string","description":"Target plot ID if applicable."},"supplier_id":{"type":"string","description":"Supplier identifier."},"country_code":{"type":"string","default":"XX","description":"2-letter origin country code."},"message":{"type":"string","description":"Custom message text or alert detail."}},"required":["alert_type"]}},{"name":"eudr_submit_agent_feedback","description":"Allows an autonomous AI agent to submit an evolution proposal, feature request, edge-case report, or dataset addition to continuously evolve the EUDR.agent engine.","parameters":{"type":"object","properties":{"agent_id":{"type":"string","description":"Calling agent identifier or handle (e.g. 'procure-bot-44', 'claude-supply-auditor')."},"feedback_type":{"type":"string","enum":["FEATURE_REQUEST","PROTOCOL_PROPOSAL","EDGE_CASE","DATASET_SUGGESTION"],"default":"FEATURE_REQUEST","description":"Category of the evolution proposal."},"title":{"type":"string","description":"Concise summary of the improvement proposal or requested capability."},"content":{"type":"string","description":"Detailed explanation, expected parameters, or architectural reasoning."},"caller_model":{"type":"string","default":"autonomous-agent","description":"Model architecture (e.g. 'claude-3-5-sonnet', 'gpt-4o', 'gemini-1.5-pro')."},"contact_channel":{"type":"string","description":"Optional agent webhook URL or contact handle for status updates."}},"required":["agent_id","title","content"]}}],"mcp_endpoint":"/api/v1/mcp","documentation":"https://eudragent.com/llms.txt"}