typora_get_document_source
Read the saved Markdown source from a running Typora instance without modifying it, and verify with sourceHash that renderer-side code did not rewrite the file.
Instructions
Read the current saved Markdown source through the standalone bridge without modifying it; use its sourceHash to prove renderer-side code did not rewrite the file.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "typora_get_document_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxChars | No | ||
| targetId | No | Renderer targetId from typora_status; required when no single window is focused |