import_document
Import local PDF, DOCX, PNG, JPG, MD, or TXT files into your library, keeping immutable originals offline and saving each new file version separately.
Instructions
本地导入PDF/DOCX/PNG/JPG/MD/TXT,保留不可变原件;不上传。每个新文件版本单独保存。
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": {
"work_id": "<work_id>",
"path": "<path>"
},
"name": "import_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| label | No | manuscript | |
| work_id | Yes |