Skip to main content

CanonicalAgentAction

@totemsdk/agent-policy


@totemsdk/agent-policy / CanonicalAgentAction

Interface: CanonicalAgentAction

Canonical action produced by the wallet from a prepared operation. The authorization layer commits to these effects — not to an agent description.

Extends

Properties

action

action: string

Inherited from

RunActionIntent.action


agent

agent: string

Inherited from

RunActionIntent.agent


constraints?

optional constraints?: Record<string, unknown>

Inherited from

RunActionIntent.constraints


effects

effects: StepEffects


nonce?

optional nonce?: string

Inherited from

RunActionIntent.nonce


parentReceiptIds?

optional parentReceiptIds?: string[]

Optional: receipt ids of predecessor steps this step depends on.


principal

principal: string

Inherited from

RunActionIntent.principal


runId

runId: string


stepId

stepId: string


target?

optional target?: string

Inherited from

RunActionIntent.target