pre_trade_gate
One call before you trade — GO / HOLD / STOP — Use before an agent buys or swaps into a Base token: token-risk, sellability (honeypot, tax), swap route and price impact for your size, and deployer reputation in one GO/HOLD/STOP verdict with a receipt. GO only when every check ran clean; an outage is HOLD. Coinbase tokenized stocks get stock checks (transfer policy, wallet eligibility, premium vs reference). GO/HOLD return enforce: a Cobalt condition so Base never includes your trade if the pool is drained first. Bind this tool first. Required input: address. Priced $0.10 per call over x402 on Base; send a prepaid x-credit-token header for unlimited calls (no free tier on this tool). No API key required.
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": {
"address": "<address>"
},
"name": "pre_trade_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | No | Buyer wallet — for tokenized stocks, checks it may receive (optional) | |
| address | Yes | Token contract address | |
| amountUsd | No | Trade size in USD (optional) | |
| maxLiquidityDropPct | No | Enforce: max pool drop before the trade is refused, % (optional, default 20) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | The result payload. Shape is service-specific; every field is documented in the tool description. | |
| service | No | The service id that answered. | |
| checkedAt | No | ISO-8601 timestamp of when the underlying reads were taken. |