codebolt.requirementPlan
RequirementPlan management tools for creating and managing requirement plan documents. RequirementPlans are structured documents that organize project requirements into sections, supporting various content types including markdown, linked specifications, action plans, UI flows, and code blocks.
Available Tools
requirement_plan_create- Creates a new requirement plan filerequirement_plan_get- Retrieves a requirement plan by file pathrequirement_plan_update- Updates a requirement plan with new contentrequirement_plan_list- Lists all requirement plans in the projectrequirement_plan_add_section- Adds a section to a requirement planrequirement_plan_update_section- Updates a section in a requirement planrequirement_plan_remove_section- Removes a section from a requirement planrequirement_plan_reorder_sections- Reorders sections in a requirement planrequirement_plan_review- Requests a review for a requirement plan
Tool Parameters
requirement_plan_create
Creates a new requirement plan file with the specified name.
| Parameter | Type | Required | Description |
|---|---|---|---|
| fileName | string | Yes | Name for the new plan file (without .plan extension) |
requirement_plan_get
Retrieves a requirement plan by its file path, returning the complete document structure including all sections.
| Parameter | Type | Required | Description |
|---|---|---|---|
| filePath | string | Yes | Path to the plan file to retrieve |
requirement_plan_update
Updates an existing requirement plan with new content. The content can be provided as a string or a full RequirementPlanDocument object.
| Parameter | Type | Required | Description |
|---|---|---|---|
| filePath | string | Yes | Path to the plan file to update |
| content | string | object | Yes | New content (string or RequirementPlanDocument object) |
requirement_plan_list
Lists all requirement plans currently in the project, returning an array of plan metadata.
| Parameter | Type | Required | Description |
|---|---|---|---|
| (none) | - | - | No parameters required |
requirement_plan_add_section
Adds a new section to an existing requirement plan. Sections can be inserted at specific positions or appended to the end.
| Parameter | Type | Required | Description |
|---|---|---|---|
| filePath | string | Yes | Path to the plan file |
| section | object | Yes | Section data to add |
| section.type | string | Yes | Section type: 'markdown', 'specs-link', 'actionplan-link', 'uiflow-link', or 'code-block' |
| section.title | string | No | Section title |
| section.content | string | No | Section content |
| section.linkedFile | string | No | Linked file path (for link types: specs-link, actionplan-link, uiflow-link) |
| afterIndex | number | No | Optional index to insert after (-1 for beginning, or omit to append) |
requirement_plan_update_section
Updates an existing section in a requirement plan with new properties.
| Parameter | Type | Required | Description |
|---|---|---|---|
| filePath | string | Yes | Path to the plan file |
| sectionId | string | Yes | ID of the section to update |
| updates | object | Yes | Partial section data to update |
| updates.type | string | No | New section type |
| updates.title | string | No | New section title |
| updates.content | string | No | New section content |
| updates.linkedFile | string | No | New linked file path |