get_history_file
Retrieve past versions of notes by reading historical snapshot files from the SiYuan knowledge base. Access read-only content with sensitive data masked for secure review.
Instructions
读取历史快照文件内容(只读)。
注意事项: - path 必须以 '/history' 或 '/data/history' 开头。 - 行为与 get_file 一致,文本会做敏感信息打码。
Args: path: 历史快照文件路径,必须以 "/history" 或 "/data/history" 开头。
Returns: str: 历史快照文件内容。
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": {
"path": "<path>"
},
"name": "get_history_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |