insert_cross_reference
Insert a cross-reference field into an HWP document using a command string, enabling dynamic references to headings, captions, or bookmarks.
Instructions
Insert a cross-reference field.
Args: doc_id: Document ID from open_document command: Cross-reference command string
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>",
"command": "<command>"
},
"name": "insert_cross_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| command | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||