memeswap_build
Builds unsigned swap material so the user can buy (or sell) a listed meme coin (POST /api/build); wallet must review and sign. Not a launch/create-token tool. Fee 0.85% on fee-enabled trades. NFA. Does NOT authorize, sign, submit or confirm.
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": {
"chain": "<chain>",
"side": "<side>",
"token": "<token>",
"amount": "<amount>",
"from": "<from>",
"quote": "<quote>"
},
"name": "memeswap_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Public signing-wallet address; output is bound to this caller. | |
| side | Yes | ||
| chain | Yes | ||
| quote | Yes | Prior memeswap_quote /api/quote response object. | |
| token | Yes | ||
| amount | Yes | Positive decimal string | |
| slippageBps | No |