Skip to main content
Glama
GongRzhe

Terminal Controller for MCP

delete_file_content

Remove specified content from a file by deleting entire rows or specific substrings within rows, enabling precise file content management through Terminal Controller for MCP.

Instructions

Delete content at specific row(s) from a file Args: path: Path to the file row: Row number to delete (0-based, optional) rows: List of row numbers to delete (0-based, optional) substring: If provided, only delete this substring within the specified row(s), not the entire row (optional) Returns: Operation result information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
rowNo
rowsNo
substringNo

Other Tools

Related Tools

Latest Blog Posts

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/GongRzhe/terminal-controller-mcp'

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