Validate agreement structure
validate_agreementValidate an authored agreement JSON document by checking for structural issues and returning participant variable keys, input IDs, state IDs, and warnings. Does not check deployment values - use preflight_deployment for that.
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. |