Reverse-engineer a format file from a .docx
extract_format_from_docxReads a reference .docx template and produces a draft format file, listing detected values and items to confirm before compiling.
Instructions
Read a reference .docx template (institution, journal, or organization) and produce a draft format file. The draft lists every value it could determine and a 'to confirm' list it could not; review those before compiling.
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": {
"docx_path": "<docx_path>"
},
"name": "extract_format_from_docx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | zh | |
| docx_path | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||