Microsoft to Do · Capability

Microsoft To Do API (Microsoft Graph) — TaskLists

Microsoft To Do API (Microsoft Graph) — TaskLists. 5 operations. Lead operation: List todoTaskLists. Self-contained Naftiko capability covering one Microsoft To Do business surface.

Run with Naftiko Microsoft To DoTaskLists

What You Can Do

GET
Listtodotasklists — List todoTaskLists
/v1/me/todo/lists
POST
Createtodotasklist — Create todoTaskList
/v1/me/todo/lists
GET
Gettodotasklist — Get todoTaskList
/v1/me/todo/lists/{todotasklistid}
PATCH
Updatetodotasklist — Update todoTaskList
/v1/me/todo/lists/{todotasklistid}
DELETE
Deletetodotasklist — Delete todoTaskList
/v1/me/todo/lists/{todotasklistid}

MCP Tools

list-todotasklists

List todoTaskLists

read-only idempotent
create-todotasklist

Create todoTaskList

get-todotasklist

Get todoTaskList

read-only idempotent
update-todotasklist

Update todoTaskList

idempotent
delete-todotasklist

Delete todoTaskList

idempotent

Capability Spec

microsoft-to-do-tasklists.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft To Do API (Microsoft Graph) — TaskLists
  description: 'Microsoft To Do API (Microsoft Graph) — TaskLists. 5 operations. Lead operation: List todoTaskLists. Self-contained
    Naftiko capability covering one Microsoft To Do business surface.'
  tags:
  - Microsoft To Do
  - TaskLists
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_TO_DO_API_KEY: MICROSOFT_TO_DO_API_KEY
capability:
  consumes:
  - type: http
    namespace: microsoft-to-do-tasklists
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft To Do API (Microsoft Graph) — TaskLists business capability. Self-contained, no shared references.
    resources:
    - name: me-todo-lists
      path: /me/todo/lists
      operations:
      - name: listtodotasklists
        method: GET
        description: List todoTaskLists
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createtodotasklist
        method: POST
        description: Create todoTaskList
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: me-todo-lists-todoTaskListId
      path: /me/todo/lists/{todoTaskListId}
      operations:
      - name: gettodotasklist
        method: GET
        description: Get todoTaskList
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatetodotasklist
        method: PATCH
        description: Update todoTaskList
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletetodotasklist
        method: DELETE
        description: Delete todoTaskList
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_TO_DO_API_KEY}}'
  exposes:
  - type: rest
    namespace: microsoft-to-do-tasklists-rest
    port: 8080
    description: REST adapter for Microsoft To Do API (Microsoft Graph) — TaskLists. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/me/todo/lists
      name: me-todo-lists
      description: REST surface for me-todo-lists.
      operations:
      - method: GET
        name: listtodotasklists
        description: List todoTaskLists
        call: microsoft-to-do-tasklists.listtodotasklists
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createtodotasklist
        description: Create todoTaskList
        call: microsoft-to-do-tasklists.createtodotasklist
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/me/todo/lists/{todotasklistid}
      name: me-todo-lists-todotasklistid
      description: REST surface for me-todo-lists-todoTaskListId.
      operations:
      - method: GET
        name: gettodotasklist
        description: Get todoTaskList
        call: microsoft-to-do-tasklists.gettodotasklist
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatetodotasklist
        description: Update todoTaskList
        call: microsoft-to-do-tasklists.updatetodotasklist
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletetodotasklist
        description: Delete todoTaskList
        call: microsoft-to-do-tasklists.deletetodotasklist
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-to-do-tasklists-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft To Do API (Microsoft Graph) — TaskLists. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: list-todotasklists
      description: List todoTaskLists
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-to-do-tasklists.listtodotasklists
      outputParameters:
      - type: object
        mapping: $.
    - name: create-todotasklist
      description: Create todoTaskList
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-to-do-tasklists.createtodotasklist
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-todotasklist
      description: Get todoTaskList
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-to-do-tasklists.gettodotasklist
      outputParameters:
      - type: object
        mapping: $.
    - name: update-todotasklist
      description: Update todoTaskList
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoft-to-do-tasklists.updatetodotasklist
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-todotasklist
      description: Delete todoTaskList
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-to-do-tasklists.deletetodotasklist
      outputParameters:
      - type: object
        mapping: $.