Skip to main content

Read Text File

Category: Files Read Text File block screenshot

Reads a text file and returns its contents as a string.

Inputs

InputRequiredValue KindTypesEnum Values
pathyesexpressionfile-path-string

Notes

No additional notes are available yet.

Examples

Write Text File At Fixed Path

Writes a short text file with `append=false` and `flushNow=true`, then reads it back to verify the exact content.

kind: Pattern · format: runtime-dsl · validation: MCP fixture

Topics: files, text output

Source: patterns/ex-files-write-text-file-fixed-path.json

Download JSON

Import YouTube Chapter Text As Sequence Markers

Prompts for a pasted chapter block or a text file, optionally clears existing active-sequence markers, then imports YouTube-style chapter lines as sequence markers.

kind: Recipe · format: persisted-document · validation: Schema only

Topics: markers, YouTube chapters, text import, file dialogs, multiline prompts, marker comments

Source: recipes/ex-markers-import-youtube-chapter-text-as-sequence-markers.json

Download JSON