Initialize Trestle Workspace
trestle_initInitialize a Trestle workspace by creating the directory structure for managing OSCAL models.
Instructions
Initialize a trestle working directory.
This tool initializes the current directory as a Trestle workspace, creating the necessary directory structure for OSCAL model management.
OSCAL Model Types supported:
Catalog
Profile
Component Definition
System Security Plan (SSP)
Assessment Plan
Assessment Result
Plan of Action and Milestones (POAM)
Args: params (TrestleInitInput): Validated input parameters containing: - mode (InitMode): Initialization mode (local/full/govdocs, default: local) - trestle_root (Optional[str]): Path to trestle root directory - verbose (bool): Display verbose output (default: false)
Returns: str: Success message or error details
Examples: - Use when: "Initialize trestle workspace" - Use when: "Set up trestle in full mode" - Don't use when: Workspace is already initialized
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |