Get Behavioural Model
get_behavioural_modelRead a model's behavioural model to inspect elements, actions, zones, extraction status, open questions, and stored answers for review or correction.
Instructions
Read a model's behavioural model: what the system does, as elements, actions and zones taken from its description. Read-only.
status: none (extract_behavioural_model gives it one),
needs_answers, extracted, confirmed, stale (the
description changed since) or extracting. questions are the open
ones, answered with answer_behavioural_questions; one carrying
structured takes a structured answer, one with awaiting_fix was
answered. Each carries structured_forms. pending_answers: collected, not extracted. ir_hash is
what confirm_behavioural_model names. waiting_on names what
settles it, waiting_hint says how (reread:
reread_behavioural_description). extraction.job: the extraction running in the
background (null when none), its progress;extraction.dropped_elements: what it
could not keep, each asked by a question of its own (closure
dropped), which takes no dismissal. generation_ready: call
generate_from_behavioural_model. regeneration_owed and
certifications_awaiting_consent show work owed: estimate
confirm_behavioural_model first.
view="status" serves no IR and no questions: use it to follow an
extraction. view="questions": that and the open questions from
offset, limit of them (default 50, at most 200), with total
and next_offset. view="answers": every answer stored on the
model, standing ones first in the order given, then those a later fact
replaced (each with replaced_by), paged the same way, with
standing_total, and without the IR or the model's entities. Read it
to review or correct the answers a model holds: a full read of a
large model cuts its answers first. A page may end early to stay within the size bound
(truncated): read on from next_offset until it is null.
wait_seconds (0 to 50) waits for the job's state, pass or calls
completed to change, sending progress meanwhile; at once when no job runs. Read again after
poll_after_seconds.
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": {
"server_version": "<server_version>",
"model_id": "<model_id>"
},
"name": "get_behavioural_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | ``full`` (default), ``status``, ``questions`` or ``answers``. | full |
| limit | No | ``questions`` and ``answers`` views only. | |
| offset | No | ``questions`` and ``answers`` views only. | |
| model_id | Yes | ID of the threat model. | |
| wait_seconds | No | 0 (default) answers at once. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||