set_functional_satisfaction_groups
Replace a functional objective's satisfaction groups to define which test combinations verify it. Groups are AND-based; any complete group satisfies the objective. Submit groups_json to apply structure as-is, or clear all groups with {}.
Instructions
Declaratively set (replace) a functional objective's satisfaction groups. Mutating.
Replaces the objective's group structure wholesale. Each group is a set of functional tests that together satisfy the objective (AND within a group); the objective counts as satisfied when any one complete group has all its tests verified (OR across groups). Tests you want to keep associated with the objective but outside any group go in ungrouped. Unlike set_control_assumption_groups, there is no AI relevance gate — the structure you submit is applied as-is. Read the current state first with get_functional_satisfaction_groups.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ID of the threat model. | |
| ungrouped | No | Comma-separated functional-test ids to keep associated with the objective but unassigned to any group (optional). | |
| groups_json | Yes | JSON object mapping group label to a list of functional test ids, e.g. ``{"1": ["FT-1", "FT-2"], "2": ["FT-3"]}``. Pass ``{}`` to clear all groups. | |
| server_version | Yes | ||
| functional_objective_id | Yes | The objective whose groups to set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||