Skip to content

CaptureScreenshotParams.cwd

CaptureScreenshotParams › cwd

Type: string

The working directory (vault path) identifying which Obsidian window to capture.

Mirrors the cwd of an evaluation: a desktop instance can hold several vault windows, and the capture has to be routed to the right one.