get_execution_context
Discover this account’s revalidated active roots, adapters, and asset selections.
| Field | Meaning |
|---|---|
| Side effects | None. This is a read-only execution call. |
| Next step | Build one complete supported request and call propose_execution with the selected root. |
Arguments
| Argument | Type | Required |
|---|---|---|
cursor | string | no |
page_size | integer | no |
Exact bounds, accepted values, and nested fields are in Full JSON Schema below.
Example
Select one exact root from active_pakts. Continue through next_cursor if necessary. This read does not resolve wallet readiness or start authorization.
With an authenticated MCP client:
await client.callTool({
name: "get_execution_context",
arguments: { page_size: 10 },
});Returns
Important fields in the decoded result; this is not a complete response schema.
| Field | Meaning |
|---|---|
active_pakts[] | Revalidated roots and their execution_adapter and policy_program_id. |
active_pakts[].policy_program_generation | For Hyperliquid: current, mixed_margin_mode_v5, single_margin_mode_v4, or cross_only_v3; omitted for other adapters. |
active_pakts[].asset_selection | For Hyperliquid: "any" or an exact only list with chain, asset index, and oracle. |
wallet_readiness / execution_readiness | checked_on_proposal; active does not mean ready to sign. |
account_id / environment / next_cursor | Authenticated scope and pagination cursor. |
For error handling and retry rules, see Statuses and Errors.
Read one bounded page of this authenticated account's active, fully revalidated pakt roots, artifact-derived adapters, proposal-relevant policy_rules, and asset selection where applicable. policy_rules is the canonical SSZ-derived readback of numeric limits and refusal conditions; inspect it before constructing a proposal. A Hyperliquid asset_selection is either any or an exact only-list of native indices on the named network, never Pakt-specific ids. It does not claim a planner or strategy capability. AccountId and environment are server-derived. Wallet and operation-authorization readiness are checked only when propose_execution enters the configured hosted authorizer. This call is read-only and never creates an account, provisions a wallet, proves, signs, or submits.
From tools/list, MCP protocol revision 2026-07-28.
{
"additionalProperties": false,
"properties": {
"cursor": {
"description": "Exclusive pakt-root cursor returned as next_cursor by the preceding page.",
"maxLength": 64,
"minLength": 64,
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"page_size": {
"default": 10,
"maximum": 10,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
}