ticktick_get_unprocessed_completions
Retrieve completed tasks not yet marked as processed from a TickTick project. Use at conversation start to identify new completions.
Instructions
Returns completed tasks for a project that have NOT yet been marked as processed by a domain agent.
Could be called at the beginning of each conversation to check for new completions. After reviewing each returned task, call ticktick_mark_completion_processed to record that it has been handled.
Args: project_id (str): TickTick project ID to check. Required. days (int): How many days back to look for completions. Default 30.
Returns: JSON list of unprocessed task objects (may be empty). Each object includes: id, title, projectId, completedTime, content. Error: {"error": "...", "status": "error"}
Usage Guide: - Call once per project at the start of each conversation. - For each returned task: read the content field, log meaningful outcomes if appropriate, then call ticktick_mark_completion_processed. - Example: ticktick_get_unprocessed_completions( project_id="your_project_id_here", days=30 )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |