List Projects
project_listRetrieve and filter projects by team, status, date ranges, or text search. Supports pagination and sorting to control results.
Instructions
Use this when the user wants to view their projects. IMPORTANT: When the user asks for a specific number (e.g., "show me 5 projects"), use the limit parameter to control how many projects are returned. Always use pagination to avoid loading all projects unnecessarily. Supports filtering by team, status, date ranges, and text search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of projects to return. Use this when user asks for a specific number (e.g., "5 projects" = limit: 5). Defaults to 20 if not specified. | |
| page | No | Page number for pagination (1-based). Use with limit to fetch subsequent pages. | |
| teamId | No | Optional team ID to filter projects belonging to a specific team | |
| teamIds | No | Optional array of team IDs to filter projects belonging to multiple teams | |
| projectIds | No | Optional array of project IDs to filter specific projects | |
| search | No | Optional search query to filter projects by title (partial match supported) | |
| status | No | Filter by project status. "active" = non-archived, "inactive" = archived, "all" = both. Defaults to "all" if not specified. | |
| sort | No | Sort field for projects: alpha=alphabetical, alphaNum=alphanumeric, client=by client name, duration=total time tracked, created=creation date, status=active/inactive | |
| order | No | Sort order (ascending or descending) | |
| taskStartDate | No | Filter projects with tasks starting on or after this date (ISO 8601 format: YYYY-MM-DD) | |
| taskEndDate | No | Filter projects with tasks ending on or before this date (ISO 8601 format: YYYY-MM-DD) | |
| taskRateId | No | Filter projects containing tasks with this specific rate ID | |
| taskType | No | Filter projects containing tasks of a specific type | |
| taskFilter | No | Additional task-level filter for projects | |
| taskUserIds | No | Filter projects containing tasks assigned to these user IDs |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projects | Yes | List of projects matching the criteria | |
| totalCount | No | Total number of projects returned |