detect_media
Scan images, PDFs, or videos for watermarks via Etchv API to verify ownership. Choose sync or async mode and get detection JSON or a job receipt.
Instructions
Detect a watermark in an image, PDF or video. Uses API credits. Supports sync and async (default). Returns detection JSON or a job receipt. Scope: watermarks:detect.
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": {
"media": "<media>",
"input_path": "<input_path>",
"idempotency_key": "<idempotency_key>"
},
"name": "detect_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | async | |
| media | Yes | ||
| input_path | Yes | ||
| webhook_id | No | ||
| idempotency_key | Yes | Unique stable key for this logical operation. Reuse on retry. |