run_hwp_action
Execute any HWP action on a specific document by providing the action name and optional parameters. Use this to trigger advanced or custom operations beyond standard tools.
Instructions
Execute an arbitrary HWP action (escape hatch for power users).
Args: doc_id: Document ID from open_document action_name: HWP action name (e.g., "SelectAll", "MoveDocBegin") params: Optional parameter dict for HAction.Execute param_set_name: Name of the HParameterSet to use
Returns: Action execution result
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>",
"action_name": "<action_name>"
},
"name": "run_hwp_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| params | No | ||
| action_name | Yes | ||
| param_set_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||