read_workspace_file
Read a file from the workspace or session repository, blocking sensitive files like secrets and keys. In direct mode, scope to the session's repo path and receive a SHA-256 hash.
Instructions
Read a file within the workspace. Sensitive files (secrets, keys, tokens) are blocked. In Direct mode (with session_id), reads are scoped to the session's repo_path and return sha256.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path to a file inside the workspace or session repo | |
| session_id | No | Optional Direct session ID. When provided, read scope is limited to the session's repo_path and sha256 is returned. |