searchTasks uses Asana advanced search for text, ownership, state, dates, projects, and sections.
automations/search-asana-tasks.automation.ts
workspaceId is required. Optional filters are assignee (user GID, "me", or null for unassigned), completed, createdAfter, dueAfter, dueBefore, modifiedAfter, projectIds, sectionIds, and text. sortBy accepts "completed_at", "created_at", "due_date", "likes", or "modified_at"; sortAscending sets direction. limit is 1–100 and defaults to 100; optional account defaults to the project binding.
Returns Signal<{ tasks: AsanaTask[] }>. Asana advanced search requires an eligible paid workspace and does not expose cursor pagination here.