Skip to main content

File Exists

Category: Files File Exists block screenshot

Returns `true` when `path` currently resolves to an existing file. This block performs a filesystem read check and therefore depends on filesystem permissions. If the path does not exist, or resolves to a folder instead of a file, the result is `false`.

Inputs

InputRequiredValue KindTypesEnum Values
pathyesexpressionstring

Notes

  • Filesystem read expression that returns true when the given path resolves to a file.
  • Returns false for missing paths and for folders.

Examples

Flush Buffered File Write With Sleep

Writes a text file into the runtime buffer, then uses sleep as a zero-delay sync point to flush buffered file writes before continuing.

kind: Pattern · format: runtime-dsl · validation: Schema only

Topics: files, synchronization

Source: patterns/ex-files-flush-buffered-write-with-sleep.json

Download JSON

Render Active-Sequence Frames At Equal Distances To Fixed Folder

Exports a small evenly spaced set of `.png` frames across the active sequence to a fixed folder path, so visual timeline sampling can be runtime-validated deterministically.

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

Topics: frame export, visual probing, timeline sampling, runtime validation

Source: patterns/ex-sequence-render-active-sequence-frames-equal-distances-fixed-folder.json

Download JSON

Render Frames At Sequence Markers To Fixed Folder

Exports one `.png` frame per active-sequence marker to a fixed folder path, so marker-driven still export can be runtime-validated deterministically.

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

Topics: markers, frame export, review stills, runtime validation

Source: patterns/ex-markers-render-active-sequence-frames-fixed-folder.json

Download JSON