get_source_reference
Retrieve a file's path and SHA-256 hash as a citable reference for ContextPatch evidence. Read-only; returns only the hash, never the file content.
Instructions
Get the {path, sha256} reference of one project file so it can be cited as evidence in a ContextPatch (source_document_refs). Read-only; it returns only the hash, never the content. Use read_workspace to read a file's text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of an existing file relative to the project root, for example 'docs/design.md'. At most 2 MB. | |
| project_id | Yes | Registered project id, as returned by list_projects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||