Query SbD-ToE Entities
query_sbd_toe_entitiesSearch manual entities by text, ID, type, chapter, or risk level to find relevant requirements, user stories, metrics, or threats for security review.
Instructions
Queries manual entities by text, entity type, chapter or risk level.
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": {
"query": "<query>"
},
"name": "query_sbd_toe_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topK | No | ||
| query | Yes | Free text, or an exact entity id (resolved directly: match=exact_id). | |
| chapterId | No | Filter by chapter bundle id (e.g. 06-desenvolvimento-seguro) or its numeric prefix. | |
| riskLevel | No | Filter by the chunk's published risk facet; chunks without a facet are not returned (declared in the `filters` field of the result). | |
| entityType | No | Filter chunks by the entity type they mention: Requirement | UserStory | Metric | Threat (aliases accepted, e.g. requirements, us, kpi). Structured records (controls, control objectives, mechanisms, artifacts) are queried with resolve_entities instead. |