readFile

@Tool(description = "Read a UTF-8 text file within the project directory. Supports line-based reading and safety limits.")
fun readFile(@McpToolParam(description = "The relative path to the file from the project root") relativePath: String, @McpToolParam(description = "The starting line number (1-indexed)") startLine: Int = 1, @McpToolParam(description = "The ending line number (inclusive)") endLine: Int? = null, @McpToolParam(description = "Maximum bytes to read to prevent memory issues") maxBytes: Int = 256 * 1024 * 1024): FileContentResponse