---
tool_name: csv-clean-split
summary: Deduplicate rows by a column (or whole row) and split huge CSVs into row-limited chunks — Shopify / CRM upload limits solved.
input:
  file: binary, required # CSV file (max 100MB)
  mode: enum, required # 模式
  dedupe_column: string, optional # 去重依据列名
  rows_per_file: number, optional, min 1, max 1000000 # 每个文件行数（拆分）
output:
  preview_url: string | watermarked preview, free, no auth
  task_id: string | unique task identifier
  payment_url: string | end-user must complete one-time payment to unlock final output
  final_download_url: string | only available after successful payment
auth: login via email/phone OTP on https://csv-clean-split.yeezhan.com; API callers use a personal API key (Bearer yeek_...)
payment_rule: one-time charge $0.99 per task. NO credits, NO account balance. One payment unlocks only this task.
valid_window: 24 hours after payment
errors:
  - file_too_large
  - invalid_input
  - unsupported_type
  - target_unreachable
  - processing_failed
endpoint: https://csv-clean-split.yeezhan.com/api/v1/run
---
