create_planning_workspace
Initializes a new virtual planning workspace for multi-file features or refactorings, creating an empty Virtual AST tied to a plan_id before symbols are added or validated.
Instructions
Create a new virtual planning workspace. Use this tool first when starting any multi-file feature or refactoring task, before calling add_planned_symbol or validate_plan. Do not use this tool if a plan already exists for your current task. This is a mutating operation that initializes an empty Virtual AST associated with the provided plan_id. The workspace is stored in the server's graph state and persisted to disk immediately, so it remains available for the duration of the server session. If the plan_id already exists, this operation is idempotent and returns the existing workspace. Returns the initialized workspace ID on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | Unique identifier for the planning workspace | |
| description | Yes | Human-readable description of the plan's purpose |