Search Tasks
asana_search_tasksFind tasks in Asana by searching names and descriptions, with filters for assignee, project, due date, tags, and completion status to refine results.
Instructions
Full-text search for tasks across a workspace with advanced filters. Searches task names AND descriptions. Returns up to 100 results (no auto-pagination). Prefer filters like projects_any, assignee_any, completed, or due_on_before to narrow results. Returns minimal fields by default — always use opt_fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to search for in task names and descriptions | |
| due_on | No | ISO 8601 date string or null | |
| sort_by | No | Sort by: due_date, created_at, completed_at, likes, modified_at | |
| start_on | No | ISO 8601 date string or null | |
| tags_all | No | Comma-separated list of tag IDs that must all match | |
| tags_any | No | Comma-separated list of tag IDs | |
| tags_not | No | Comma-separated list of tag IDs to exclude | |
| completed | No | Filter for completed tasks | |
| teams_any | No | Comma-separated list of team IDs | |
| workspace | No | The GID of the workspace to search in (numeric string, e.g. `'19234567890123'`). Get it from asana_list_workspaces. Can be omitted if ASANA_DEFAULT_WORKSPACE_GID is set. | |
| created_on | No | ISO 8601 date string or null | |
| is_blocked | No | Filter for tasks with incomplete dependencies | |
| is_subtask | No | Filter for subtasks | |
| opt_fields | No | Comma-separated list of optional fields to include | |
| is_blocking | No | Filter for incomplete tasks with dependents | |
| modified_on | No | ISO 8601 date string or null | |
| assignee_any | No | Comma-separated list of user IDs | |
| assignee_not | No | Comma-separated list of user IDs to exclude | |
| completed_on | No | ISO 8601 date string or null | |
| due_at_after | No | ISO 8601 datetime string | |
| due_on_after | No | ISO 8601 date string | |
| liked_by_not | No | Comma-separated list of user IDs to exclude | |
| projects_all | No | Comma-separated list of project IDs that must all match | |
| projects_any | No | Comma-separated list of project IDs | |
| projects_not | No | Comma-separated list of project IDs to exclude | |
| sections_all | No | Comma-separated list of section IDs that must all match | |
| sections_any | No | Comma-separated list of section IDs | |
| sections_not | No | Comma-separated list of section IDs to exclude | |
| custom_fields | No | Object containing custom field filters. Keys should be in the format "{gid}.{operation}" where operation can be: - {gid}.is_set: Boolean - For all custom field types, check if value is set - {gid}.value: String|Number|String(enum_option_gid) - Direct value match for Text, Number or Enum fields - {gid}.starts_with: String - For Text fields only, check if value starts with string - {gid}.ends_with: String - For Text fields only, check if value ends with string - {gid}.contains: String - For Text fields only, check if value contains string - {gid}.less_than: Number - For Number fields only, check if value is less than number - {gid}.greater_than: Number - For Number fields only, check if value is greater than number Example: { "12345.value": "high", "67890.contains": "urgent" } | |
| due_at_before | No | ISO 8601 datetime string | |
| due_on_before | No | ISO 8601 date string | |
| followers_any | No | Comma-separated list of user IDs | |
| followers_not | No | Comma-separated list of user IDs to exclude | |
| created_by_any | No | Comma-separated list of user IDs | |
| created_by_not | No | Comma-separated list of user IDs to exclude | |
| has_attachment | No | Filter for tasks with attachments | |
| portfolios_any | No | Comma-separated list of portfolio IDs | |
| sort_ascending | No | Sort in ascending order | |
| start_on_after | No | ISO 8601 date string | |
| assigned_by_any | No | Comma-separated list of user IDs | |
| assigned_by_not | No | Comma-separated list of user IDs to exclude | |
| start_on_before | No | ISO 8601 date string | |
| created_at_after | No | ISO 8601 datetime string | |
| created_on_after | No | ISO 8601 date string | |
| resource_subtype | No | Filter by task subtype (e.g. milestone) | |
| created_at_before | No | ISO 8601 datetime string | |
| created_on_before | No | ISO 8601 date string | |
| modified_at_after | No | ISO 8601 datetime string | |
| modified_on_after | No | ISO 8601 date string | |
| completed_at_after | No | ISO 8601 datetime string | |
| completed_on_after | No | ISO 8601 date string | |
| modified_at_before | No | ISO 8601 datetime string | |
| modified_on_before | No | ISO 8601 date string | |
| commented_on_by_not | No | Comma-separated list of user IDs to exclude | |
| completed_at_before | No | ISO 8601 datetime string | |
| completed_on_before | No | ISO 8601 date string |