Get Functional Objectives
get_functional_objectivesLists a threat model's functional objectives or fetches one by ID, returning its Given-When-Then test plan and current test state.
Instructions
List a model's functional objectives, or fetch one by id. Read-only; no side effects.
A functional objective is a Capability × Condition test plan expressed as a
Given-When-Then statement. functional_objective_id selects the behaviour:
omitted / empty string -> list every functional objective for the model (the full functional test plan).
a functional-objective id -> return just that one objective's detail, including its capability, condition, Given-When-Then statement, and current test state.
For pass/fail coverage state across all objectives use
get_functional_coverage; for the actionable gaps pass it
gaps_only=True.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ID of the threat model whose functional objective(s) to read. | |
| server_version | Yes | ||
| functional_objective_id | No | Optional. Omit (or pass "") to list every objective; pass an id (from a prior list call) to fetch that one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||