Skip to content

fileExists

Summary

Check whether a file exists in the session/shared file area.

Input parameters

Input schema class: FileExistsRequest

Parameter Required Type
path required String
area optional String

Expected output

Returns a JSON object.

Success keys: status, area, path, exists (boolean). Error keys: status=error, message.

Example:

{ "status": "ok", "area": "SESSION", "path": "report.md", "exists": false }