xml
Read, query, and patch raw HWPX/HWP document parts by XPath when built-in semantic tools don't cover a needed edit.
Instructions
범용 XML 통로(의미 도구가 없는 속성). action: parts(); get(part, xpath, limit?); patch(part, xpath, op, xml?, name?, value?)
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": {
"action": "<action>"
},
"name": "xml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | ||
| xml | No | ||
| name | No | ||
| part | No | ||
| limit | No | ||
| value | No | ||
| xpath | No | ||
| action | Yes | ||
| handle | No | document.new/open이 준 handle |