create_field
Adds a named placeholder field to an HWP document for template use. Specify document ID, field name, direction, and memo to create reusable template fields.
Instructions
Create a named field (placeholder for templates).
Args: doc_id: Document ID from open_document name: Field name direction: 0 = horizontal, 1 = vertical memo: Field memo/description
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>",
"name": "<name>"
},
"name": "create_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | ||
| name | Yes | ||
| doc_id | Yes | ||
| direction | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||