Add Proposed Attacker
add_proposed_attackerAdds the closure-proposed attacker for a credential set, creating a model version and returning the result or escalation when approval is needed.
Instructions
Add the attacker the attacker closure proposes for a credential set. Mutating; creates a model version.
Name the proposal by its credential_classes as
get_behavioural_attackers lists it (a dismissed one may be added),
and a part of the zones nobody stands at by one of its zones where
another proposal holds the same classes.
The attacker holds them, with the privileges they give and no position
but the tenant-isolation boundaries a per-tenant holder is placed at.
It is rated as add_attacker rates: one call before the write,
charged to the caller, its privileges the ones it holds gives. Where no
rating answers, or when a person accepts a parked addition, it is added
unrated (rating_source: "unrated"), and
reevaluate_threat_model_factors with unrated_only rates it.
Refused with 409 not_proposed when no attacker is proposed for
exactly that set now (read the attackers again), 409
ambiguous_proposal when several are and no zone names one (its
zones lists each), 409 closure_not_offered, 422
unknown_class.
A program's addition is a judgment. Unless the workspace's delegation
policy admits it, it is refused with 403 and an escalation_id and
parked for a person. Do not retry: report the escalation_id and poll
list_proposals.
Returns {model_id, model_version, applies, credential_classes, counts, added, rating_source}: how many proposals, dismissals and questions the
closure now holds, added, the new attacker's id, and whether a
rating answered (unrated when none did).
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": "add_proposed_attacker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | No | A zone of the part to add, where two proposals hold the same classes; empty otherwise. | |
| evidence | No | ||
| model_id | Yes | ID of the threat model. | |
| server_version | Yes | ||
| credential_classes | No | Comma-separated class ids of the proposal; empty for the one holding none. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||