set_password
Assign a password to an open HWP document to restrict access. Provide the document ID and the password string to protect the file.
Instructions
Set document password.
Args: doc_id: Document ID from open_document password: Password string to set
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>",
"password": "<password>"
},
"name": "set_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| password | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||