Read a report source file
read_report_fileRead a report file's UTF-8 content and obtain its SHA-256 hash to establish a safe write precondition, preventing conflicts during Overleaf project edits.
Instructions
Read a UTF-8 report source and return the SHA-256 precondition required for a safe write.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"path": "<path>"
},
"name": "read_report_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| session_id | Yes | Active sessionId returned by begin_edit_session or workflow_status |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| nextActions | Yes | ||
| workflowState | Yes |