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, account_leverage_v6, 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. |
active_pakts[].policy_rules[] | Committed limits and refusal conditions (rule, refused_when, trust basis), plus display-only headline (for example ≤ $50 per trade, or null), rule_core without the reduce-only close exemption, close_exempt, and boundaries: the rule’s rows under can, never, or stops_when, each with a title and description. |
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. Each policy_rules entry also carries display-only reader fields from the same readback: headline is the committed limit as a short value such as ≤ $50 per trade, or null when the rule has none; rule_core is rule without the reduce-only close exemption; close_exempt states whether authenticated position-bounded reduce-only closes are exempt from the rule; boundaries lists the rule's rows among the agent's boundaries, each with a section (can, never, or stops_when), a title, and a description without the close exemption. Services additionally expose services_policy: version, valid_until as a decimal string, service_permissions and expiry_config arrays, and for a paying services Pakt service_payment: payments_wallet, tokens and payees with max_per_payment_atomic, and unlisted_payee_max_per_payment_atomic, atomic amounts as decimal strings. Yield exposes yield_policy: wallet (the yield account), chain_id, token, vaults as address/family/group objects (family erc4626, morpho-v1 or morpho-v2), max_per_move_atomic, max_per_vault_atomic, max_per_group_atomic, max_total_atomic, min_idle_atomic, max_fee_per_step_atomic (the most USDC one step may pay in network fees), fee_allowance_atomic (the USDC left approved to the paymaster), entry_point, account_contract and paymaster (the ERC-4337 EntryPoint v0.8, the EIP-7702 account contract and Circle's USDC paymaster every step uses), and health (null or round_trip_min_bps, price_window_secs, price_max_drop_bps, price_max_growth_bps, warning_signs and max_performance_fee_bps). Atomic amounts are decimal strings. Group, total, idle-reserve and health checks gate new money, never withdrawals or redemptions. retired_roots lists active roots on a policy program this release can no longer read: they are not in active_pakts, propose_execution refuses them, and only their owner can turn them off in the dashboard and approve new guardrails. The response also lists unsettled_yield_steps: the steps the account's yield Pakts signed, whether those Pakts are still on or already off, whose outcome is not recorded yet, newest first, each with its deciding pakt_root, receipt_id, signed_at in unix seconds and the exact erc4337_user_operation submission propose_execution returned (user_op_hash, entry_point_nonce, user_operation, eip7702_auth, operation_id, deciding_pakt_root); unsettled_yield_steps_complete is false when more remain than one page. A signed step has no deadline and its vault checks held only when it was signed: record a landed step's confirmed outcome on its receipt_id under its pakt_root, and never send a deposit or nonzero approval long after it was signed. Pakt keeps them, so no client storage is needed to recover one. Every entry includes its canonical scope; USD micro-unit amounts are decimal strings. Apart from unsettled_yield_steps, this is canonical artifact configuration, not mutable spend history or an execution allowance. 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"
}