insert_file
Insert a file into an open HWP document using its document ID and file path, enabling addition of external content directly into the active document.
Instructions
Insert another file into the document.
Args: doc_id: Document ID from open_document file_path: Path to the file to insert
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": {
"doc_id": "<doc_id>",
"file_path": "<file_path>"
},
"name": "insert_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||