Add a code check
add_unity_checkRead-only
Append a unity (code) check to a model's analysis.unity_checks. check is a UnityCheckDefinition JSON (see get_check_schema). Returns the updated model JSON to pass to run_unity_checks. Free.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check | Yes | Stringified UnityCheckDefinition JSON (get its schema + an example from get_check_schema) | |
| model | No | Stringified FERS model JSON | |
| model_ref | No | Handle from stash_model, used INSTEAD of `model`. Avoids sending the whole document on every step; the tool returns the same handle back. |