Add Task
task_add:
Instructions
Create a new pending task and return its UUID. Only 'description' is required; all other fields are optional. The task gets a stable numeric ID and UUID for cross-session references. To record already-completed work, use task_log instead. To copy an existing task, use task_duplicate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | Task description (required, max 500 chars). Brief summary of what needs to be done. | |
| project | No | Project name for grouping (alphanumeric, hyphens, underscores). E.g. 'backend', 'auth-refactor' | |
| tags | No | Tags as comma-separated list or JSON array. E.g. 'bug,urgent' or '["bug","urgent"]'. Used for filtering with +tag/-tag syntax. | |
| priority | No | Priority: H (high), M (medium), L (low). Affects urgency score and sort order. | |
| due | No | Due date. Accepts: ISO dates ('2025-12-31'), relative ('3d', '2w'), named ('tomorrow', 'friday', 'eow', 'eom'), compound ('now+3d'). | |
| depends | No | Comma-separated UUIDs of tasks this depends on. Task shows as +BLOCKED until dependencies are completed. | |
| wait | No | Wait date — task is hidden from default views until this date. Same date formats as 'due'. | |
| scheduled | No | Scheduled start date — when to begin working. Same date formats as 'due'. | |
| recur | No | Recurrence pattern. Requires 'due' to be set. Values: 'daily', 'weekly', 'weekdays', 'biweekly', 'monthly', 'quarterly', 'yearly', or numeric like '3d', '2w'. | |
| until | No | End date for recurrence — no instances generated past this date. Only meaningful with 'recur'. Same date formats as 'due'. | |
| agent | No | Agent identity for tracking task ownership across agent teams. E.g. 'explorer', 'planner', 'reviewer'. | |
| extra | No | Space-separated additional attributes or +tag/-tag modifiers. |