text_search_oscal
Full-text search across all OSCAL documents and child elements. Filter results by model type and paginate with relevance ranking.
Instructions
Full-text search across all OSCAL documents and child elements.
Searches titles, descriptions, and other indexed text fields using SQLite FTS5. Results are ranked by relevance. Optionally scope the search to a single OSCAL model type.
Args:
ctx: MCP server context (injected automatically).
query_text: The search string.
oscal_model_type: Optional model type value to scope results
(e.g. "catalog", "system-security-plan"). When
omitted, all model types are searched.
offset: Zero-based pagination offset (default 0).
limit: Maximum items to return, 1-100 (default 10).
Returns: Page_Response dict with keys: items, total, offset, limit, hasMore. Each item contains: entity_type, entity_id, title, description, model_type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_text | No | ||
| oscal_model_type | No | ||
| offset | No | ||
| limit | No |