Troya limits: guard a trade
guard_tradeF78 Peisistratus, Troya's limits for any agent: before your agent buys a Robinhood Chain coin, send the coin, the trade size and your own limits (per trade, per day, already spent today, an optional allowlist of coins, strict to also refuse cautions). It runs a fresh Troya Gate check at that size and answers allow or block with every reason, signed by Troya's attestor. It never trades and never holds funds: your agent keeps its keys and obeys the answer.
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": {
"token": "<token>",
"amountEth": "<amountEth>"
},
"name": "guard_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Token contract address | |
| strict | No | Also block when the Gate says caution (default false) | |
| amountEth | Yes | Trade size in ETH | |
| allowTokens | No | Only these coins may be bought (optional) | |
| maxEthPerDay | No | Your limit per UTC day in ETH (optional) | |
| spentTodayEth | No | ETH your agent already spent today (optional) | |
| maxEthPerTrade | No | Your limit per trade in ETH (optional) |