insert_auto_number
Insert an auto-numbering field into HWP documents. Specify numbering type, format, and optional starting number to control list or heading numbering.
Instructions
Insert auto-numbering field.
Args: doc_id: Document ID from open_document num_type: Numbering type num_format: Number format (0=default) new_number: Optional starting number
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>",
"num_type": "<num_type>"
},
"name": "insert_auto_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| num_type | Yes | ||
| new_number | No | ||
| num_format | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||