Get agreement state
get_agreement_stateRetrieve the current state of an agreement by its record ID. Use this to check progress after submitting an input or to monitor state transitions.
Instructions
Returns the current state of an agreement. For deployed agreements, interpret the state against the states defined in the authored agreement lifecycle (execution.states). Use this to poll for transitions after submitting an input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agreementId | Yes | Agreement record ID, as returned by list_agreements (not the on-chain address). |