list_tasks
Retrieve Copilot cloud-agent tasks with filters for repository, state, and pagination to find tasks across all repos or a specific one.
Instructions
List Copilot cloud-agent tasks.
If both owner and repo are provided, scopes to that repo:
GET /agents/repos/{owner}/{repo}/tasks
Otherwise lists tasks visible to the caller across all repos:
GET /agents/tasks
Args: owner: Optional repo owner. repo: Optional repo name. state: Filter by states (any of queued, in_progress, completed, failed, idle, waiting_for_user, timed_out, cancelled). is_archived: Include archived tasks. since: ISO 8601 timestamp; only tasks updated after this. sort: updated_at or created_at. direction: asc or desc. per_page: 1–100, default 30. page: page number, default 1. creator_id: Repo-scoped only — filter by creator user IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| repo | No | ||
| sort | No | updated_at | |
| owner | No | ||
| since | No | ||
| state | No | ||
| per_page | No | ||
| direction | No | desc | |
| creator_id | No | ||
| is_archived | No |