Check a redacted Dify-like file input contract before workflow execution.
Turn a redacted upload and workflow input description into a stable file contract.
Input needs input_variable and a files array with name, size, extension, mimetype, and transfermethod. Output is READY or BLOCKED, with a contract hash and explicit missing or invalid fields.
Run python scripts/check_file_contract.py --input examples/input.json --output examples/output.json. It validates metadata only; it does not open files, upload files, call Dify, or inspect credentials.
The sample produces READY and a non-empty contract hash. The broken sample produces BLOCKED for a missing file field.
请通过上方所属套餐查看交付内容与下载方式。
下载不等于安装成功,运行环境、平台适配和外部服务需按说明准备。
此处不单独展示技能价格,请以上方所属套餐价格为准。