Validate agreement structure
validate_agreementValidate an authored agreement JSON structure, returning participant variable keys, input IDs, state IDs, and warnings. Iterate until no blocking warnings remain.
Instructions
Checks only the authored agreement JSON document and returns participant variable keys, input IDs, state IDs, and warnings. This does not validate deployment values, participant wallet addresses, signer, or permit data — use preflight_deployment for that. Iterate on the agreement JSON until this returns no blocking warnings. Requires the agreements.write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agreement | Yes | Complete authored agreement JSON document with metadata, variables, content, and execution sections. See the simple/complex example resources for the authoritative shape. |