---
tool_name: gpx-merge
summary: Merge multiple GPX tracks, split one in half, thin it to every Nth point, or shift its timestamps.
input:
  file: binary, required # GPX files (2+) (max 50MB)
  mode: enum, required # 操作
  every_n: number, optional, min 2, max 100 # 抽稀间隔 N
  seconds: number, optional, min -31536000, max 31536000 # 时间偏移（秒，可为负）
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://gpx-merge.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://gpx-merge.yeezhan.com/api/v1/run
---
