submit_encrypt_job
Submit a DIS anonymization job: syncTime → /request/encrypt → /sendMessage/encrypt.
Requires a valid asset_id from upload_file or upload_file_content. When that
asset id exists in the gateway registry, the uploaded metadata (stored filename,
width/height, checksum, file size) is treated as authoritative and mismatched caller values
are rejected.
Use target_objects=["face"] when the workflow should stay a single MCP call that
detects faces first and then blurs or redacts only those detected face regions, instead of
chaining a separate detect tool plus blur tool or applying a full-image filter.
Optional media_kind may be image or video. When provided it must match the
uploaded asset metadata; the HTTP scope gate also uses upload metadata to require
dis:encrypt:image or dis:encrypt:video for image-only/video-only clients.
source_file_path is optional for split flow. It is only used when a caller wants the
gateway to re-read the local file size instead of reusing the persisted upload metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| asset_id | Yes | ||
| checksum | No | ||
| key_name | Yes | ||
| file_name | No | ||
| file_type | No | ||
| key_index | Yes | ||
| media_kind | No | ||
| restoration | No | false | |
| target_objects | No | ||
| source_file_path | No | ||
| encrypt_object_label | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||