Trade deep link
prepare_trade_linkGenerates a Traivo link with a prefilled trade ticket so users can open, review, and sign the trade in their own wallet; it never signs or sends transactions.
Instructions
Returns a Traivo link with the trade ticket prefilled (symbol, side, amount) for the USER to open, review and sign in their own wallet. This tool never signs, sends or simulates a transaction and needs no keys. Call get_trade_quote first so the user sees price impact before opening the link.
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": {
"symbol": "<symbol>",
"side": "<side>",
"amount": "<amount>"
},
"name": "prepare_trade_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | buy = spend USDC for the token; sell = sell the token for USDC. | |
| amount | Yes | Size of the trade: USDC to spend for a buy, number of tokens for a sell. | |
| symbol | Yes | Ticker as Traivo lists it, e.g. NVDA, TSLA, SPY, ETH, WBTC. Case-insensitive. |