---
tool_name: split-pdf
summary: Split a large PDF into ordered parts by page count or per-file size — nothing lost, nothing duplicated.
input:
  file: binary, required # PDF document (max 200MB)
  mode: enum, required # 拆分方式
  n: number, optional, min 1, max 500 # 每份页数 N
  target_mb: number, optional, min 0.1, max 500 # 每份大小上限 (MB)
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://split-pdf.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://split-pdf.yeezhan.com/api/v1/run
---
