query_component_definition
Return OSCAL Components from loaded Component Definitions as OSCAL JSON, or one Capability when a by_uuid or by_title query matches one.
Instructions
Return OSCAL Components from loaded Component Definitions as OSCAL JSON, or one Capability when a by_uuid or by_title query matches one. Use when you need component details: call it directly with by_title or by_type when you know the name or type, else look them up with list_child_elements (component or capability) or list_documents (component-definition), and fetch a Capability with get_capability. 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 | |||