set_file_security
Set a password and disable copy or print permissions to restrict unauthorized use of HWP documents.
Instructions
Set file security — restrict copy/print.
Args: doc_id: Document ID from open_document password: Security password no_copy: 1 to disable copy no_print: 1 to disable print
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": "set_file_security"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| no_copy | No | ||
| no_print | No | ||
| password | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||