Skip to content

Read File

This processor will read the contents of a file at the specified path. This processor will return an error if any of the required parameters are missing or if the parameters are of the wrong type. The path parameter is required.

  • typeos.readfile
  • params:
    • path: the path of the file to read

Read the contents of a file.

- id: read
type: os.readfile
params:
path: "/tmp/test.txt"