Skip to main content
Glama

RBT Document Editor

by leo7nel23

delete_block

Remove specific blocks from RBT documents to edit content structure. Specify project, block ID, and document details to delete targeted sections without full file operations.

Instructions

Delete block from document. Args: project_id: Project identifier block_id: Block ID to delete 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: Success message Example: delete_block( project_id="knowledge-smith", file_path="docs/guide.md", block_id="blk-paragraph-2" ) @REQ: REQ-rbt-mcp-tool @BP: BP-rbt-mcp-tool @TASK: TASK-011-DeleteBlockTool

Input Schema

NameRequiredDescriptionDefault
block_idYes
doc_typeNo
feature_idNo
file_pathNo
project_idYes

Input Schema (JSON Schema)

{ "properties": { "block_id": { "title": "Block Id", "type": "string" }, "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" }, "project_id": { "title": "Project Id", "type": "string" } }, "required": [ "project_id", "block_id" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/leo7nel23/KnowkedgeSmith-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server