dsc__ShowDocWatermarkByAddress
Extract embedded text dark watermarks from Word, PowerPoint, Excel, or PDF documents stored at an OBS address; returns the extracted watermark content in JSON.
Instructions
[DSC] 支持对已嵌入文字暗水印的WORD(.docx),PPT(.pptx),EXCEL(.xlsx),PDF(.pdf)类型的文档进行水印提取,用户传入待提取水印的文档地址(目前支持OBS),DSC服务以JSON的格式返回从文档里提取的出的文字暗水印内容。
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_type": "<doc_type>",
"project_id": "<project_id>",
"region_id": "<region_id>",
"src_file": "<src_file>"
},
"name": "dsc__ShowDocWatermarkByAddress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_type | Yes | 待提取水印的文档类型 | |
| src_file | Yes | 待提取文字暗水印的文档的地址,当前只支持华为云OBS对象,格式为 **obs://bucket/object** ,其中bucket为和当前项目处于同一区域的OBS桶名称,object为对象全路径名。例如:**obs://hwbucket/hwinfo/hw.doc**,其中obs://表示OBS存储,hwbucket为桶名,hwinfo/hw.doc为对象全路径名。 | |
| region_id | Yes | 项目所在region的id,如:xx-xx-1。 | |
| project_id | Yes | 项目ID | |
| file_password | No | 解密文件的密码, 最大支持长度256。如果Office文档有读密码或域控的权限密码,请输入读密码,或者有读权限的域控密码。 |