field_exists
Check if a named field exists in an HWP document by providing the document ID and field name. Verify field presence before modifying content to avoid errors.
Instructions
Check if a named field exists in the document.
Args: doc_id: Document ID from open_document name: Field name to check
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| doc_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||