Microsoft Windows 10 · Capability

Microsoft Windows 10 Windows Background Tasks API — Tasks

Microsoft Windows 10 Windows Background Tasks API — Tasks. 4 operations. Lead operation: Microsoft Windows 10 List registered background tasks. Self-contained Naftiko capability covering one Microsoft Windows 10 business surface.

Run with Naftiko Microsoft Windows 10Tasks

What You Can Do

GET
Listbackgroundtasks — Microsoft Windows 10 List registered background tasks
/v1/background-tasks
POST
Registerbackgroundtask — Microsoft Windows 10 Register a background task
/v1/background-tasks
GET
Getbackgroundtask — Microsoft Windows 10 Get background task details
/v1/background-tasks/{taskid}
DELETE
Unregisterbackgroundtask — Microsoft Windows 10 Unregister a background task
/v1/background-tasks/{taskid}

MCP Tools

microsoft-windows-10-list-registered

Microsoft Windows 10 List registered background tasks

read-only idempotent
microsoft-windows-10-register-background

Microsoft Windows 10 Register a background task

microsoft-windows-10-get-background

Microsoft Windows 10 Get background task details

read-only idempotent
microsoft-windows-10-unregister-background

Microsoft Windows 10 Unregister a background task

idempotent

Capability Spec

background-tasks-tasks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Windows 10 Windows Background Tasks API — Tasks
  description: 'Microsoft Windows 10 Windows Background Tasks API — Tasks. 4 operations. Lead operation: Microsoft Windows
    10 List registered background tasks. Self-contained Naftiko capability covering one Microsoft Windows 10 business surface.'
  tags:
  - Microsoft Windows 10
  - Tasks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_WINDOWS_10_API_KEY: MICROSOFT_WINDOWS_10_API_KEY
capability:
  consumes:
  - type: http
    namespace: background-tasks-tasks
    baseUri: https://api.windows.com
    description: Microsoft Windows 10 Windows Background Tasks API — Tasks business capability. Self-contained, no shared
      references.
    resources:
    - name: background-tasks
      path: /background-tasks
      operations:
      - name: listbackgroundtasks
        method: GET
        description: Microsoft Windows 10 List registered background tasks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: registerbackgroundtask
        method: POST
        description: Microsoft Windows 10 Register a background task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: background-tasks-taskId
      path: /background-tasks/{taskId}
      operations:
      - name: getbackgroundtask
        method: GET
        description: Microsoft Windows 10 Get background task details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: taskId
          in: path
          type: string
          description: Background task registration ID
          required: true
      - name: unregisterbackgroundtask
        method: DELETE
        description: Microsoft Windows 10 Unregister a background task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: taskId
          in: path
          type: string
          description: Background task registration ID
          required: true
        - name: cancelRunningTask
          in: query
          type: boolean
          description: Whether to cancel a running instance
  exposes:
  - type: rest
    namespace: background-tasks-tasks-rest
    port: 8080
    description: REST adapter for Microsoft Windows 10 Windows Background Tasks API — Tasks. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/background-tasks
      name: background-tasks
      description: REST surface for background-tasks.
      operations:
      - method: GET
        name: listbackgroundtasks
        description: Microsoft Windows 10 List registered background tasks
        call: background-tasks-tasks.listbackgroundtasks
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: registerbackgroundtask
        description: Microsoft Windows 10 Register a background task
        call: background-tasks-tasks.registerbackgroundtask
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/background-tasks/{taskid}
      name: background-tasks-taskid
      description: REST surface for background-tasks-taskId.
      operations:
      - method: GET
        name: getbackgroundtask
        description: Microsoft Windows 10 Get background task details
        call: background-tasks-tasks.getbackgroundtask
        with:
          taskId: rest.taskId
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: unregisterbackgroundtask
        description: Microsoft Windows 10 Unregister a background task
        call: background-tasks-tasks.unregisterbackgroundtask
        with:
          taskId: rest.taskId
          cancelRunningTask: rest.cancelRunningTask
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: background-tasks-tasks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Windows 10 Windows Background Tasks API — Tasks. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: microsoft-windows-10-list-registered
      description: Microsoft Windows 10 List registered background tasks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: background-tasks-tasks.listbackgroundtasks
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-windows-10-register-background
      description: Microsoft Windows 10 Register a background task
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: background-tasks-tasks.registerbackgroundtask
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-windows-10-get-background
      description: Microsoft Windows 10 Get background task details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: background-tasks-tasks.getbackgroundtask
      with:
        taskId: tools.taskId
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-windows-10-unregister-background
      description: Microsoft Windows 10 Unregister a background task
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: background-tasks-tasks.unregisterbackgroundtask
      with:
        taskId: tools.taskId
        cancelRunningTask: tools.cancelRunningTask
      outputParameters:
      - type: object
        mapping: $.