Azure Durable Functions · Capability

Azure Durable Functions HTTP API — Entities

Azure Durable Functions HTTP API — Entities. 3 operations. Lead operation: List entities. Self-contained Naftiko capability covering one Durable Functions business surface.

Run with Naftiko Durable FunctionsEntities

What You Can Do

GET
Listentities — List entities
/v1/runtime/webhooks/durabletask/entities/{entityname}
GET
Getentity — Get entity
/v1/runtime/webhooks/durabletask/entities/{entityname}/{entitykey}
POST
Signalentity — Signal entity
/v1/runtime/webhooks/durabletask/entities/{entityname}/{entitykey}

MCP Tools

list-entities

List entities

read-only idempotent
get-entity

Get entity

read-only idempotent
signal-entity

Signal entity

Capability Spec

http-entities.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Azure Durable Functions HTTP API — Entities
  description: 'Azure Durable Functions HTTP API — Entities. 3 operations. Lead operation: List entities. Self-contained Naftiko
    capability covering one Durable Functions business surface.'
  tags:
  - Durable Functions
  - Entities
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DURABLE_FUNCTIONS_API_KEY: DURABLE_FUNCTIONS_API_KEY
capability:
  consumes:
  - type: http
    namespace: http-entities
    baseUri: https://{appName}.azurewebsites.net
    description: Azure Durable Functions HTTP API — Entities business capability. Self-contained, no shared references.
    resources:
    - name: runtime-webhooks-durabletask-entities-entityName
      path: /runtime/webhooks/durabletask/entities/{entityName}
      operations:
      - name: listentities
        method: GET
        description: List entities
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: entityName
          in: path
          type: string
          required: true
        - name: lastOperationTimeFrom
          in: query
          type: string
        - name: lastOperationTimeTo
          in: query
          type: string
        - name: fetchState
          in: query
          type: boolean
        - name: top
          in: query
          type: integer
    - name: runtime-webhooks-durabletask-entities-entityName-entityKey
      path: /runtime/webhooks/durabletask/entities/{entityName}/{entityKey}
      operations:
      - name: getentity
        method: GET
        description: Get entity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: signalentity
        method: POST
        description: Signal entity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: op
          in: query
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: apikey
      key: code
      value: '{{env.DURABLE_FUNCTIONS_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: http-entities-rest
    port: 8080
    description: REST adapter for Azure Durable Functions HTTP API — Entities. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/runtime/webhooks/durabletask/entities/{entityname}
      name: runtime-webhooks-durabletask-entities-entityname
      description: REST surface for runtime-webhooks-durabletask-entities-entityName.
      operations:
      - method: GET
        name: listentities
        description: List entities
        call: http-entities.listentities
        with:
          entityName: rest.entityName
          lastOperationTimeFrom: rest.lastOperationTimeFrom
          lastOperationTimeTo: rest.lastOperationTimeTo
          fetchState: rest.fetchState
          top: rest.top
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/runtime/webhooks/durabletask/entities/{entityname}/{entitykey}
      name: runtime-webhooks-durabletask-entities-entityname-entitykey
      description: REST surface for runtime-webhooks-durabletask-entities-entityName-entityKey.
      operations:
      - method: GET
        name: getentity
        description: Get entity
        call: http-entities.getentity
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: signalentity
        description: Signal entity
        call: http-entities.signalentity
        with:
          op: rest.op
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: http-entities-mcp
    port: 9090
    transport: http
    description: MCP adapter for Azure Durable Functions HTTP API — Entities. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-entities
      description: List entities
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: http-entities.listentities
      with:
        entityName: tools.entityName
        lastOperationTimeFrom: tools.lastOperationTimeFrom
        lastOperationTimeTo: tools.lastOperationTimeTo
        fetchState: tools.fetchState
        top: tools.top
      outputParameters:
      - type: object
        mapping: $.
    - name: get-entity
      description: Get entity
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: http-entities.getentity
      outputParameters:
      - type: object
        mapping: $.
    - name: signal-entity
      description: Signal entity
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: http-entities.signalentity
      with:
        op: tools.op
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.