Pakt Docs
MCP Tools

get_execution_context

Discover this account’s revalidated active roots, adapters, and asset selections.

FieldMeaning
Side effectsNone. This is a read-only execution call.
Next stepBuild one complete supported request and call propose_execution with the selected root.

Arguments

ArgumentTypeRequired
cursorstringno
page_sizeintegerno

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.

FieldMeaning
active_pakts[]Revalidated roots and their execution_adapter and policy_program_id.
active_pakts[].policy_program_generationFor Hyperliquid: current, account_leverage_v6, mixed_margin_mode_v5, single_margin_mode_v4, or cross_only_v3; omitted for other adapters.
active_pakts[].asset_selectionFor 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_readinesschecked_on_proposal; active does not mean ready to sign.
account_id / environment / next_cursorAuthenticated scope and pagination cursor.

For error handling and retry rules, see Statuses and Errors.

On this page