create_task_tool
Create a task with priority, dates, and recurrence using Tasks plugin syntax. Insert it into a Markdown file at a specified location.
Instructions
Create a new task with Tasks plugin metadata (filesystem-native, offline).
Creates a checkbox task with optional metadata (priority, dates, recurrence) and inserts it at the specified location in the file. Creates the file if it doesn't exist.
Metadata will be formatted using Tasks plugin emoji syntax:
Priority: β«πΌπ½β¬ emojis
Dates: π β³π«β β emojis with YYYY-MM-DD
Recurrence: π emoji with pattern
When to use:
Adding tasks to project notes
Creating recurring task templates
Batch task creation
Automated task generation
Returns: Success status, formatted task line, line number, and file path
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to file where task should be created (relative to vault) | |
| task_content | Yes | Task description text | |
| priority | No | Task priority level | normal |
| due_date | No | Due date (YYYY-MM-DD) | |
| scheduled_date | No | Scheduled date (YYYY-MM-DD) | |
| start_date | No | Start date (YYYY-MM-DD) | |
| recurrence | No | Recurrence pattern (must start with 'every') | |
| insert_at | No | Where to insert the task | end |
| heading | No | Heading name if insert_at='after_heading' | |
| vault_path | No | Path to vault (optional, uses OBSIDIAN_VAULT_PATH env if not provided) | |
| ctx | No |