Typeahead
asana_typeaheadSearch Asana tasks, projects, users, and more by partial name to find the GID of an object when you only know its name. Returns up to 100 compact results with gid and name.
Instructions
Search for Asana objects (tasks, projects, users, tags, teams, portfolios, goals) by partial name. Returns up to 100 compact results with gid and name. Use this to find the GID of a resource when you only know its name — e.g. find a task called 'Fix login bug' before updating it. Results are ordered by relevance (recency for projects, contact frequency for users). For users, include opt_fields: 'gid,name,email' to get email addresses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of results to return (1–100). Defaults to 20. | |
| query | No | Partial name to search for (case-insensitive). If omitted, returns the most relevant objects based on recent activity. | |
| workspace | No | The GID of the workspace to search in (numeric string, e.g. `'1234567890123'`). Can be omitted if ASANA_DEFAULT_WORKSPACE_GID is set. | |
| opt_fields | No | Comma-separated extra fields to include. For users: `gid,name,email`. For tasks: `gid,name,completed,due_on`. For projects: `gid,name,color`. | |
| resource_type | Yes | The type of resource to search. One of: `task`, `project`, `user`, `tag`, `team`, `portfolio`, `goal`, `custom_field`, `project_template`. |