v15

latestOpenAPI 3.1.1raw.githubusercontent.com2026-06-05137173413.9 KB

Get paths

Retrieve the current working directory and related path information for the OpenCode instance.

get/path

Query parameters

directorystring
workspacestring

Response

Path

homestring required
statestring required
configstring required
worktreestring required
directorystring required