set_subtask_parent
Set a task's parent to create a subtask, or remove the parent to unlink the subtask relationship. Provide parent_id or old_parent_id accordingly.
Instructions
Set or unset a task's parent (subtask relationship).
[Category: Tasks — Batch] [Auth: V2]
[Related: create_task, get_task_detail]
[Workflow: create_task → set_subtask_parent (TickTick ignores parentId on creation)]
Args:
task_id: The child task ID.
project_id: The project both tasks belong to.
parent_id: New parent task ID (to make subtask). Provide THIS to SET.
old_parent_id: Previous parent ID (to remove). Provide THIS to UNSET.
⚠️ Provide EITHER parent_id OR old_parent_id, not both.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| project_id | Yes | ||
| parent_id | No | ||
| old_parent_id | No |