Search Projects
asana_search_projectsSearch projects in a workspace by regex name pattern, returning GID, name, and resource type for each match. Use '.' to list all projects.
Instructions
Search for projects in a workspace by name using a regex pattern. Fetches all projects (auto-paginated) and filters client-side. Use name_pattern: '.' to list all projects. Returns array of objects with gid, name, resource_type by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archived | No | Set to true to search only archived projects. Defaults to false (active projects only). | |
| workspace | No | The GID of the workspace to search in (numeric string, e.g. `'1234567890123'`). Get it from asana_list_workspaces. Can be omitted if ASANA_DEFAULT_WORKSPACE_GID is set. | |
| opt_fields | No | Comma-separated extra fields to include. Useful values: `color,archived,team.name,created_at,modified_at,due_on`. Default fields: gid, name, resource_type. | |
| name_pattern | Yes | Case-insensitive JavaScript regex to match project names. Use `'.'` to list all projects, or specific terms like `'Q4'` or `'sprint-d+'`. |