Audit FX Transaction
audit_fx_transactionAudits one FX transaction against its UTC reference minute candle, or the 13:00–21:00 UTC hourly average when only a date is supplied. Returns FX Score 0-10, non-negative spread in bps and percent, estimated overpayment with currency, reference provider and UTC candle evidence. Weekend transactions use the last available candle and are flagged.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audit_fx_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Alias for transaction_date. | |
| taux | No | French alias for bank_rate | |
| time | No | Alias for transaction_time, UTC. | |
| amount | No | Transaction amount in currency_from (alias: montant) | |
| montant | No | French alias for amount | |
| language | No | Optional output language. Auto-detected from input keys (montant/taux → fr) when omitted. | |
| bank_rate | No | Rate the bank/broker actually charged (alias: taux) | |
| currency_to | No | ISO 4217 target currency (alias: devise_cible) | |
| devise_cible | No | French alias for currency_to | |
| currency_from | No | ISO 4217 source currency (alias: devise_source) | |
| devise_source | No | French alias for currency_from | |
| transaction_date | No | Transaction date YYYY-MM-DD, or ISO timestamp with timezone. | |
| transaction_time | No | Optional transaction time HH:mm[:ss], UTC. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| color | No | ||
| score | No | ||
| amount | Yes | ||
| rating | No | ||
| verdict | No | ||
| currency | Yes | ||
| fx_score | Yes | ||
| bank_rate | No | ||
| spread_bps | Yes | ||
| spread_pct | Yes | ||
| currency_to | Yes | ||
| currency_from | Yes | ||
| currency_pair | Yes | ||
| rate_provider | Yes | ||
| estimated_loss | Yes | ||
| amount_currency | No | ||
| bank_rate_input | No | ||
| mid_market_rate | Yes | ||
| overpaid_amount | No | ||
| reference_method | No | ||
| transaction_time | No | ||
| weekend_fallback | No | ||
| cotation_inversee | No | ||
| rate_timestamp_utc | Yes |