agent_begin_trade
Obtain oracle assessment evidence for a swap/DeFi intent BEFORE trading. Insight runs the oracle safety check and, if the verdict is PASS/CAUTION, returns a machine-readable "execution certification handle": preTradeUid, requestHash, CAIP-19 asset ids, the certified price (destination per source) and maxSlippageBps, plus a required operation-input check for both asset legs and a fresh Uniswap V3 on-chain route quote cross-checked by two Ethereum RPCs. If either input assessment is not SUFFICIENT, either route quote is stale or outside policy, or either oracle gate blocks, no execution handle is issued. The assessments are independently EIP-712 signed and linked to the receipt through both pre-trade UIDs. participant/source-group counts and the pre-trade signing time. Execute the trade with YOUR wallet, then call execution_receipt with this handle + txHash to obtain the signed, verifiable Execution Receipt. If the verdict is DANGER or BLOCK this tool refuses (do not trade). This is oracle assessment evidence, not principal authorization — pair it with execution_receipt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Source asset symbol being sold, e.g. ETH, USDC | |
| action | Yes | ||
| chainId | Yes | Chain ID where the trade executes, e.g. 1=Ethereum, 42161=Arbitrum, 8453=Base | |
| protocolId | No | Optional lending protocol id (lending actions only) | |
| decisionInput | Yes | Required operation-input gate for both assets and the caller-reported route quote. Insight also obtains an exact-notional Uniswap V3 quote on Ethereum mainnet, sized from a fresh Chainlink price and cross-checked by two RPCs at one block. No execution handle is issued unless both signed assessments pass and the on-chain quote, caller quote, and oracle cross-rate satisfy the 50 bps-capped policy. Supported pairs are ETH/WETH, USDC, and WBTC on Ethereum; other routes fail closed. | |
| maxSlippageBps | Yes | Current pre-committed execution tolerance; custom values are rejected | |
| tradeAmountUsd | Yes | Trade size in USD | |
| targetProviders | No | Optional: restrict the check to specific oracle providers | |
| destinationAsset | Yes | Destination asset symbol being bought, e.g. USDC, ETH | |
| sourceGroupCount | No | Distinct non-derived operator groups; defaults to participantCount |