query_documents
Return loaded OSCAL documents of one model type with metadata and childTypeCounts. For child elements, use list_child_elements, then get_child_element.
Instructions
Return loaded OSCAL documents of one model type with metadata and childTypeCounts.
For child elements, use list_child_elements, then get_child_element.
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": {
"model_type": "<model_type>"
},
"name": "query_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum items per page, 1-100. | |
| offset | No | Zero-based index of the first item. | |
| model_type | Yes | Model type of the loaded documents. | |
| query_type | No | "all" (paged), "by_uuid", or "by_title" (exact, then full-text). | all |
| query_value | No | UUID or title to match. Required for by_uuid and by_title. |