execute
Reads file content from the filesystem with optional line range filtering.
Performs validation before reading:
Verifies the path exists in the filesystem
Confirms the path points to a file
Confirms the file is a text file
Return
Result containing the file with its content and metadata
Parameters
args
arguments specifying the file path and optional line range
Throws
if the file doesn't exist, is a directory, or is not a text file, or if line range parameters are invalid