> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# List tasks

> List and filter Close tasks.

`close.listTasks` list and filter Close tasks.

```ts automations/close-list-tasks.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { close } from "automate.ax/close"

export default automation("List tasks", () => {
  onDashboardRun({ title: "List tasks" })
  close.listTasks({ assignedTo: "user_abc123", complete: false, view: "inbox" })
})
```

## Inputs

Filter by `assignedTo`, `complete`, `leadId`, provider task `type`, or `view` (`inbox`, `future`, or `archive`). `type` defaults to `all`, so the action returns every documented task subtype instead of only lead tasks. `limit` defaults to `100`; `skip` defaults to `0`. Optional second argument `{ account }` selects a named Close binding.

## Output

Returns `{ data: CloseTask[], hasMore: boolean }` as a typed union of lead, email, call, voicemail, opportunity, SMS, and sequence call tasks.
