# Create Task (`create_task`)

Part of the [Outfield MCP Server](https://run.outfieldapp.com/docs/mcp) docs. All tools: [llms.txt](https://run.outfieldapp.com/docs/mcp/llms.txt). Server URL: https://run.outfieldapp.com/mcp

Creates an incomplete task, optionally linked to contacts and with email or push reminders.

Create an incomplete task. due_at is the due date (ISO8601). Contacts are optional. Forms cannot be attached. Admins may pass assignee_user_id to create a task for another user in the organization. Optional reminders use notification_type email or push and seconds_before the due date. Optional idempotency_key prevents duplicate creates if the client retries.

- Scopes: `ai:read`, `ai:write`
- Requires: AI, Tasks, not available to Viewer users
- Access: Admins may pass assignee_user_id to create a task for another user in the organization.
- Example prompts: "Remind me to follow up with Acme Grocery on Friday at 5pm."

### Parameters

- `contact_ids` (integer[]; optional): Optional contact IDs from search_contacts
- `title` (string; optional): Task title
- `notes` (string; optional): Task notes
- `due_at` (string; optional; ISO 8601 datetime): Due date/time (ISO8601). Defaults to end of today in the user's time zone.
- `assignee_user_id` (integer; optional): Admin only: user ID to assign the task to. Defaults to the authenticated user.
- `reminders` (object[]; optional)
  - `notification_type` (string; required; one of `email`, `push`)
  - `seconds_before` (integer; required)
- `idempotency_key` (string; optional): Client retry key; replays the original result for 24 hours
- `organization_id` (integer; optional): Organization ID from get_user_profile. Omit to use the current organization. If the user names a team, call get_user_profile first and pass that id.

### Notes

- due_at defaults to the end of today in the user's time zone.
- Tasks cannot be created as complete. Up to 10 reminders.

### Example request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_task",
    "arguments": {
      "contact_ids": [48213],
      "title": "Follow up on reorder",
      "due_at": "2026-10-02T17:00:00-05:00",
      "reminders": [
        {
          "notification_type": "push",
          "seconds_before": 3600
        }
      ]
    }
  }
}
```

### Example response (`structuredContent`, illustrative data)

```json
{
  "id": 771204,
  "interaction_type": "task",
  "title": "Follow up on reorder",
  "notes": null,
  "created_at": "2026-09-29T14:30:00-05:00",
  "user": "Jordan Rivera",
  "contacts": "Acme Grocery",
  "form_results": null,
  "reported_duration_seconds": null,
  "call_result": null,
  "due_at": "2026-10-02T17:00:00-05:00",
  "is_complete": false,
  "starts_at": null,
  "ends_at": null,
  "location_recorded": false,
  "deduplicated": false,
  "warnings": []
}
```

### Response fields

- `id` (integer)
- `interaction_type` (string)
- `title` (string | null)
- `notes` (string | null)
- `created_at` (string): ISO8601 timestamp
- `user` (string | null): Creator or owner display name
- `contacts` (string): Comma-joined contact names
- `form_results` (string | null)
- `reported_duration_seconds` (number | null)
- `call_result` (string | null)
- `due_at` (string | null): ISO8601 due datetime for tasks
- `is_complete` (boolean | null)
- `starts_at` (string | null): ISO8601 start for calendar events
- `ends_at` (string | null): ISO8601 end for calendar events
- `location_recorded` (boolean)
- `deduplicated` (boolean)
- `warnings` (string[])

Related tools: [get_user_incomplete_tasks](https://run.outfieldapp.com/docs/mcp/tools/get_user_incomplete_tasks.md), [search_contacts](https://run.outfieldapp.com/docs/mcp/tools/search_contacts.md)
