Corridor capacity for one payment
get_corridor_capacityWhich banks, fintechs, stablecoin platforms and crypto P2P routes can carry one payment, e.g. 'Pay EUR 100k to Botswana', each measured the same way: corridor served (or one leg only), can carry it (yes / no / not established, against a published per-payment limit or measured P2P depth, with the source), licence in the sending and receiving country with the register, cost against the official rate (Rate Receipt where priced; otherwise 'listed, not priced', never estimated), stated speed, on/off-ramp and stablecoin path, and the forms of money each takes (bank deposit, tokenised deposit, USDC, USDT, EURC, PYUSD...) with the chains where published and whether it cashes out in the destination currency. Public sources only, every fact with its source URL and date; routes ranked by evidence of what landed (landing receipts, then verified business submissions, then public reports, each labelled), not enough evidence yet where it is thin, with landing time and delay risk next to cost; a listing never changes rank. Paid per call: x402 (USDC on Base, price in the 402 body, USD 0.25) via params._meta["x402/payment"], or a paid router key as Bearer. The free top line is GET https://swapeazi.io/api/v1/capacity. Who does what: the agent may compile the intent, gather the facts, propose the route that fits the user's own weights (recommend_payment_route) and prepare the instruction with a link to the provider's own sign-in. A person approves, releases, shares account details and authorises any spend above the mandate; the user signs in to the provider with their own credentials. SwapEazi never touches the money: it never connects a wallet and never asks for a signature.
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": "get_corridor_capacity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO code of the currency that lands, e.g. BWP, ZMW, NAD, MZN, MWK, ZAR, NGN or GHS. | |
| from | No | ISO code of the currency that leaves, e.g. EUR, USD or ZAR. | |
| text | No | The payment in one sentence, e.g. 'Pay EUR 100k to Botswana' or 'R500,000 from rand to Mozambique'. Or the fields below. | |
| amount | No | Amount that leaves, in the source currency, e.g. 100000. | |
| holding | No | What the money is held as now (optional, default bank_deposit in the source currency): a bank deposit, a tokenised deposit or a named stablecoin. Each route then shows whether it takes that form directly and whether the money can be spent in the destination currency. | |
| access_key | No | A paid router key (rk_...), if not sent as a Bearer header. |