declare_jurisdiction
Declare your wallet's jurisdiction for geo-gated trading.
Gap: before this tool, the ONLY way to declare a
jurisdiction was the jurisdiction= param on trade_equity -- an
agent that only ever used perps/short/leverage tools had no write path at
all, and the fail-safe unknown-jurisdiction-DENIED rule permanently
refused it. Call this ONCE (or pass jurisdiction= directly on any
perps/short/leverage/trade_equity tool) and the declaration is remembered
for 90 days across EVERY geo-gated framework (tokenized equities under
Reg S, perps/synthetic-shorting/leverage under the CFTC posture).
jurisdiction is an ISO-3166-1 alpha-2 country code (e.g. "US", "GB",
"SG") -- YOUR OWN self-declaration of where you are, never advice or a
recommendation (hard rules 2/5-8). A US-person declaration does not
unblock US-restricted venues; it makes the DENIED reason explicit rather
than "jurisdiction_unknown". Re-declaring overwrites the prior value.
Versioned terms acceptance: accepted_terms=true AND
terms_version (the version string published with the terms at
https://engaij.com/legal/crank/terms) are REQUIRED -- a declaration with
the terms declined, unstated, or acknowledging a superseded version is
rejected with the terms URL. Every value-bearing action (trade build,
perp order, send, claim, payout) fails closed until this wallet has
accepted the CURRENT terms version; when the published terms version is
bumped, the next value-bearing action is refused until re-acceptance.
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": {
"wallet_address": "<wallet_address>",
"jurisdiction": "<jurisdiction>"
},
"name": "declare_jurisdiction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | ||
| caller_id | No | ||
| jurisdiction | Yes | ||
| terms_version | No | ||
| accepted_terms | No | ||
| wallet_address | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||