Preview Mogrt Library Publish
preview_mogrt_library_publishPreview a no-overwrite publish of a validated MOGRT into a workspace-contained, versioned local library before any files or directories are written.
Instructions
Preview a no-overwrite publish of a validated MOGRT into a workspace-contained, versioned local library. The library root must already exist; no file or directory is created during preview.
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": {
"approved_workspace_path": "<approved_workspace_path>",
"mogrt_path": "<mogrt_path>",
"library_directory": "<library_directory>",
"template_name": "<template_name>"
},
"name": "preview_mogrt_library_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mogrt_path | Yes | Existing workspace-contained MOGRT artifact. | |
| template_name | Yes | Safe immutable library template name. | |
| library_directory | Yes | Existing workspace-contained local library root. | |
| approved_workspace_path | Yes | Absolute operator-approved workspace root. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. |