{ "tools": [ { "annotations": { "openWorldHint": false, "readOnlyHint": true }, "description": "Read the complete contents of one allowed file as text.", "inputSchema": { "properties": { "head": { "type": "number" }, "path": { "type": "string" }, "tail": { "type": "number" } }, "required": [ "path" ], "type": "object" }, "name": "read_text_file", "outputSchema": { "additionalProperties": false, "properties": { "content": { "type": "string" } }, "required": [ "content" ], "type": "object" }, "title": "Read Text File" }, { "annotations": { "destructiveHint": true, "idempotentHint": true, "openWorldHint": false, "readOnlyHint": false }, "description": "Create or completely overwrite an allowed text file.", "inputSchema": { "properties": { "content": { "type": "string" }, "path": { "type": "string" } }, "required": [ "path", "content" ], "type": "object" }, "name": "write_file", "outputSchema": { "additionalProperties": false, "properties": { "content": { "type": "string" } }, "required": [ "content" ], "type": "object" }, "title": "Write File" }, { "annotations": { "openWorldHint": false, "readOnlyHint": true }, "description": "Return the recursive JSON tree under an allowed directory.", "inputSchema": { "properties": { "excludePatterns": { "default": [], "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" } }, "required": [ "path" ], "type": "object" }, "name": "directory_tree", "outputSchema": { "additionalProperties": false, "properties": { "content": { "type": "string" } }, "required": [ "content" ], "type": "object" }, "title": "Directory Tree" }, { "annotations": { "openWorldHint": false, "readOnlyHint": true }, "description": "Recursively search allowed paths with a glob-style pattern.", "inputSchema": { "properties": { "excludePatterns": { "default": [], "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "pattern": { "type": "string" } }, "required": [ "path", "pattern" ], "type": "object" }, "name": "search_files", "outputSchema": { "additionalProperties": false, "properties": { "content": { "type": "string" } }, "required": [ "content" ], "type": "object" }, "title": "Search Files" }, { "annotations": { "openWorldHint": false, "readOnlyHint": true }, "description": "Return size, timestamps, type, and permissions for an allowed path.", "inputSchema": { "properties": { "path": { "type": "string" } }, "required": [ "path" ], "type": "object" }, "name": "get_file_info", "outputSchema": { "additionalProperties": false, "properties": { "content": { "type": "string" } }, "required": [ "content" ], "type": "object" }, "title": "Get File Info" }, { "annotations": { "openWorldHint": false, "readOnlyHint": true }, "description": "Return the filesystem roots available to this server.", "inputSchema": { "properties": {}, "type": "object" }, "name": "list_allowed_directories", "outputSchema": { "additionalProperties": false, "properties": { "content": { "type": "string" } }, "required": [ "content" ], "type": "object" }, "title": "List Allowed Directories" } ] }