create_section
Add new subsections to RBT documents by specifying parent section, title, and document type to organize requirements, business processes, or tasks.
Instructions
Create new section under specified parent.
Note: For RBT documents, cannot create root sections (only sub-sections).
Args:
project_id: Project identifier
parent_id: Parent section ID
title: Section title
summary: Optional section summary
feature_id: Feature identifier (for RBT documents)
doc_type: Document type - REQ/BP/TASK (for RBT documents)
file_path: File path relative to docs/ (for general documents)
Returns:
New section ID
Example:
create_section(
project_id="knowledge-smith",
feature_id="rbt-mcp-tool",
doc_type="REQ",
parent_id="sec-use-cases",
title="Additional Use Cases",
summary="Extended scenarios for document editing"
)
@REQ: REQ-rbt-mcp-tool
@BP: BP-rbt-mcp-tool
@TASK: TASK-008-CreateSectionTool
Input Schema
Name | Required | Description | Default |
---|---|---|---|
doc_type | No | ||
feature_id | No | ||
file_path | No | ||
parent_id | Yes | ||
project_id | Yes | ||
summary | No | ||
title | Yes |
Input Schema (JSON Schema)
{
"properties": {
"doc_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Doc Type"
},
"feature_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Feature Id"
},
"file_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "File Path"
},
"parent_id": {
"title": "Parent Id",
"type": "string"
},
"project_id": {
"title": "Project Id",
"type": "string"
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Summary"
},
"title": {
"title": "Title",
"type": "string"
}
},
"required": [
"project_id",
"parent_id",
"title"
],
"type": "object"
}