Answer Behavioural Questions
answer_behavioural_questionsSubmit answers to open behavioural questions in one call, recording facts or dispositions and optionally triggering model extraction.
Instructions
Answer open behavioural questions, many in one call. Mutating; creates a model version.
Answer only from what the code or the owner shows; else unknown.
With no behavioural model yet, an extraction runs once every holding
question is answered, or on extract_now, billed as billed_to
says (409 extraction_running: poll). With one, extract_now
alone is a regeneration estimate.
collect_only starts no extraction; dry_run=True records nothing.
A fact correcting earlier answers names their ids in
replaces; none is read again. premise: true records a fact as a
premise, taken on the owner's behalf where no authoritative source states
it: read as a fact, shown apart for a person to confirm, never narrowing
(a narrowing one is proposed, not applied).
An answer is a fact (text), or a disposition its question lists:
not_needed, not_behaviour, unknown, as_stated; text
is then a note. A question about the model's own structure carries
structured: its answer is the shape to send (e.g.
{"describes": [...]}), the rest the ids it may name; a key the shape
lacks is refused 422 structured_malformed, naming the shape.
A contents id not offered is a new element there. It edits the model at
once (new_zones, new_actors: 409 id_in_use). Where the code
does more or less than the sentence, add contradicts: {"direction": "code_does_more" | "code_does_less", "quote"?} (409 drift_is_defect over a defect's sentence).
Where a question's structured_forms lists structured or
as_stated, answer with that value; text is then a note never read
into the model. Words alone are refused 422 structured_value_required
(naming forms_offered and a row's answer shape). Only words marked
beyond_structure: true are read, when the answer says more than the
form holds. A correction (replaces) needs no mark.
A program's answer is a judgment: 403 with an escalation_id unless
delegated. Do not retry; poll list_proposals.
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": "answer_behavioural_questions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answers | No | JSON array of ``{"question_id", "text"?, "disposition"?, "structured"?, "contradicts"?, "replaces"?, "beyond_structure"?, "premise"?}``, e.g. '[{"question_id": "q1", "text": "Only the owner deletes.", "beyond_structure": true}, {"question_id": "q3", "structured": {"classes": ["org_admin"]}}]'. ``beyond_structure`` is a bool, only on a fact in words with a non-empty ``text``, never beside ``structured``. | [] |
| dry_run | No | Return what the answers would do (``outcome``) and record nothing. Default False. | |
| evidence | No | ||
| model_id | Yes | ID of the threat model. | |
| extract_now | No | Extract now, with the answers collected. | |
| collect_only | No | Start no extraction (words are read anyway over a model with one); not with extract_now. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||