Add a code check
add_unity_checkAppend 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"check": "<check>"
},
"name": "add_unity_check"
}
}Input 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. |