build_swap
Build a NON-CUSTODIAL Solana swap transaction (via Jupiter) with a 0.20% service fee embedded + a Guard safety check on the output mint. Returns an UNSIGNED transaction; the agent signs and sends with its own wallet. We never hold keys or funds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | input amount in smallest units (lamports for SOL) | |
| input_mint | Yes | ||
| output_mint | Yes | ||
| user_pubkey | Yes | the agent's own wallet pubkey (signer) |