ticktick_get_all
Retrieve all projects or tags from TickTick local sync state. Supports compact or full detail. For tasks, use the filter tool instead.
Instructions
Dump everything of a single kind from the local sync state.
Args:
search (str): Either "tasks", "projects" or "tags"
(case-insensitive).
detail (str, optional): "compact" (default) or "full".
Accepted for parity with the other list tools and validated
here. It has no effect on the "projects"/"tags"
searches (those return non-task records in full) nor on the
currently inert "tasks" search -- for a compact task list
use ticktick_filter_tasks or
ticktick_get_tasks_from_project.
Returns:
For "projects": JSON list, inbox prepended as
{"id": <inbox>, "name": "Inbox"}.
For "tags": JSON list of tag objects.
For "tasks": see Limitations.
Unknown search type: {"error": "Invalid search type...",
"status": "error"}.
Limitations:
- "tasks" triggers a fetch of every open task across all
projects, but the current implementation returns None
rather than a JSON string. Use
ticktick_filter_tasks({"status": "uncompleted"}) for a
proper (compact) JSON response.
Example: ticktick_get_all(search="projects")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | Yes | ||
| detail | No | compact |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |