Build a swap to another chain
build_bridgeSwaps a token on Robinhood Chain to another EVM chain (Ethereum, Base, Arbitrum and more) through LI.FI, in one transaction: the bridge and the swaps on either side. to_token is its address there, or "native" for the chain's own coin. Paid to the same wallet unless to_address says otherwise.
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": {
"token": "<token>",
"amount": "<amount>",
"to_chain": "<to_chain>",
"wallet": "<wallet>"
},
"name": "build_bridge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | What is sent from Robinhood Chain: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain | |
| amount | Yes | How much, as a decimal number such as 0.5 | |
| wallet | Yes | The address that will sign and send the transactions | |
| to_chain | Yes | The chain it goes to, by name (Base, Ethereum, Arbitrum…) or id | |
| to_token | No | Optional: the token's address there, or "native" (default native) | |
| to_address | No | Optional: who receives there (default the wallet) | |
| slippage_bps | No | Optional: in basis points (default 50, at most 300) |