Get agreement state
get_agreement_stateRetrieve the current state of an agreement to monitor transitions after submitting participant input. Check the state against the defined lifecycle for deployed agreements.
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). |