migrate_context_files
Convert main/master contexts to project_context.md and preserve branch-specific contexts when migrating to the Smart Hybrid Context System. Use dry-run and backup options for safe migration.
Instructions
Migrate existing context files to the Smart Hybrid Context System. Converts main/master contexts to project_context.md and preserves branch-specific contexts.
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": {
"projectName": "<projectName>"
},
"name": "migrate_context_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview migration without making changes (default: true) | |
| projectName | Yes | Name of the project to migrate (or "all" for all projects) | |
| createBackup | No | Create backup of existing contexts before migration (default: true) | |
| migrationStrategy | No | Migration strategy: "main-to-project" (default), "custom" |