query_component_definition
Retrieve OSCAL Components or a matching Capability from loaded Component Definitions by UUID, title, or type, with optional Component Definition filtering and paged JSON results.
Instructions
Return OSCAL Components from loaded Component Definitions as OSCAL JSON, or one Capability when a by_uuid or by_title query matches a Capability. Use when you need component details: call it directly with by_title or by_type when you know the name or type, else find UUIDs and titles first with list_components; use list_capabilities or get_capability only for Component Definitions that contain capabilities. Results are paged.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "query_component_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum items per page, 1-100. | |
| offset | No | Zero-based index of the first item. | |
| query_type | No | "all" (paged, large without a filter), "by_uuid", "by_title" (title, then property value), or "by_type" (Component type). by_uuid and by_title return a matching Capability first. | all |
| query_value | No | UUID, title, or Component type to match. Required unless query_type is "all". | |
| return_format | No | Response format. Only "raw" (OSCAL JSON) is supported. | raw |
| component_definition_filter | No | UUID or exact title (case-insensitive) of one Component Definition to search. Omit to search all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||