Dapr · Capability

Dapr Actors API — Actors

Dapr Actors API — Actors. 12 operations. Lead operation: Dapr Invoke Actor Method. Self-contained Naftiko capability covering one Dapr business surface.

Run with Naftiko DaprActors

What You Can Do

POST
Invokeactormethod — Dapr Invoke Actor Method
/v1/v1-0/actors/{actortype}/{actorid}/method/{method}
PUT
Invokeactormethodput — Dapr Invoke Actor Method (PUT)
/v1/v1-0/actors/{actortype}/{actorid}/method/{method}
GET
Invokeactormethodget — Dapr Invoke Actor Method (GET)
/v1/v1-0/actors/{actortype}/{actorid}/method/{method}
DELETE
Invokeactormethoddelete — Dapr Invoke Actor Method (DELETE)
/v1/v1-0/actors/{actortype}/{actorid}/method/{method}
POST
Createactorreminder — Dapr Create Actor Reminder
/v1/v1-0/actors/{actortype}/{actorid}/reminders/{name}
GET
Getactorreminder — Dapr Get Actor Reminder
/v1/v1-0/actors/{actortype}/{actorid}/reminders/{name}
DELETE
Deleteactorreminder — Dapr Delete Actor Reminder
/v1/v1-0/actors/{actortype}/{actorid}/reminders/{name}
GET
Getactorstate — Dapr Get Actor State
/v1/v1-0/actors/{actortype}/{actorid}/state
POST
Saveactorstatetransactional — Dapr Save Actor State (Transactional)
/v1/v1-0/actors/{actortype}/{actorid}/state
GET
Getactorstatebykey — Dapr Get Actor State by Key
/v1/v1-0/actors/{actortype}/{actorid}/state/{key}
POST
Createactortimer — Dapr Create Actor Timer
/v1/v1-0/actors/{actortype}/{actorid}/timers/{name}
DELETE
Deleteactortimer — Dapr Delete Actor Timer
/v1/v1-0/actors/{actortype}/{actorid}/timers/{name}

MCP Tools

dapr-invoke-actor-method

Dapr Invoke Actor Method

dapr-invoke-actor-method-put

Dapr Invoke Actor Method (PUT)

idempotent
dapr-invoke-actor-method-get

Dapr Invoke Actor Method (GET)

read-only idempotent
dapr-invoke-actor-method-delete

Dapr Invoke Actor Method (DELETE)

idempotent
dapr-create-actor-reminder

Dapr Create Actor Reminder

dapr-get-actor-reminder

Dapr Get Actor Reminder

read-only idempotent
dapr-delete-actor-reminder

Dapr Delete Actor Reminder

idempotent
dapr-get-actor-state

Dapr Get Actor State

read-only idempotent
dapr-save-actor-state-transactional

Dapr Save Actor State (Transactional)

dapr-get-actor-state-key

Dapr Get Actor State by Key

read-only idempotent
dapr-create-actor-timer

Dapr Create Actor Timer

dapr-delete-actor-timer

Dapr Delete Actor Timer

idempotent

Capability Spec

actors-actors.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Dapr Actors API — Actors
  description: 'Dapr Actors API — Actors. 12 operations. Lead operation: Dapr Invoke Actor Method. Self-contained Naftiko
    capability covering one Dapr business surface.'
  tags:
  - Dapr
  - Actors
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DAPR_API_KEY: DAPR_API_KEY
capability:
  consumes:
  - type: http
    namespace: actors-actors
    baseUri: http://localhost:3500
    description: Dapr Actors API — Actors business capability. Self-contained, no shared references.
    resources:
    - name: v1.0-actors-actorType-actorId-method-method
      path: /v1.0/actors/{actorType}/{actorId}/method/{method}
      operations:
      - name: invokeactormethod
        method: POST
        description: Dapr Invoke Actor Method
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: method
          in: path
          type: string
          description: The name of the method to invoke.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: invokeactormethodput
        method: PUT
        description: Dapr Invoke Actor Method (PUT)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: method
          in: path
          type: string
          description: The name of the method to invoke.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: invokeactormethodget
        method: GET
        description: Dapr Invoke Actor Method (GET)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: method
          in: path
          type: string
          description: The name of the method to invoke.
          required: true
      - name: invokeactormethoddelete
        method: DELETE
        description: Dapr Invoke Actor Method (DELETE)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: method
          in: path
          type: string
          description: The name of the method to invoke.
          required: true
    - name: v1.0-actors-actorType-actorId-reminders-name
      path: /v1.0/actors/{actorType}/{actorId}/reminders/{name}
      operations:
      - name: createactorreminder
        method: POST
        description: Dapr Create Actor Reminder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: The name of the reminder.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getactorreminder
        method: GET
        description: Dapr Get Actor Reminder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: The name of the reminder.
          required: true
      - name: deleteactorreminder
        method: DELETE
        description: Dapr Delete Actor Reminder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: The name of the reminder to delete.
          required: true
    - name: v1.0-actors-actorType-actorId-state
      path: /v1.0/actors/{actorType}/{actorId}/state
      operations:
      - name: getactorstate
        method: GET
        description: Dapr Get Actor State
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: saveactorstatetransactional
        method: POST
        description: Dapr Save Actor State (Transactional)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1.0-actors-actorType-actorId-state-key
      path: /v1.0/actors/{actorType}/{actorId}/state/{key}
      operations:
      - name: getactorstatebykey
        method: GET
        description: Dapr Get Actor State by Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: key
          in: path
          type: string
          description: The state key to retrieve.
          required: true
    - name: v1.0-actors-actorType-actorId-timers-name
      path: /v1.0/actors/{actorType}/{actorId}/timers/{name}
      operations:
      - name: createactortimer
        method: POST
        description: Dapr Create Actor Timer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: The name of the timer.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteactortimer
        method: DELETE
        description: Dapr Delete Actor Timer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: The name of the timer to delete.
          required: true
  exposes:
  - type: rest
    namespace: actors-actors-rest
    port: 8080
    description: REST adapter for Dapr Actors API — Actors. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1-0/actors/{actortype}/{actorid}/method/{method}
      name: v1-0-actors-actortype-actorid-method-method
      description: REST surface for v1.0-actors-actorType-actorId-method-method.
      operations:
      - method: POST
        name: invokeactormethod
        description: Dapr Invoke Actor Method
        call: actors-actors.invokeactormethod
        with:
          method: rest.method
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: invokeactormethodput
        description: Dapr Invoke Actor Method (PUT)
        call: actors-actors.invokeactormethodput
        with:
          method: rest.method
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: invokeactormethodget
        description: Dapr Invoke Actor Method (GET)
        call: actors-actors.invokeactormethodget
        with:
          method: rest.method
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: invokeactormethoddelete
        description: Dapr Invoke Actor Method (DELETE)
        call: actors-actors.invokeactormethoddelete
        with:
          method: rest.method
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1-0/actors/{actortype}/{actorid}/reminders/{name}
      name: v1-0-actors-actortype-actorid-reminders-name
      description: REST surface for v1.0-actors-actorType-actorId-reminders-name.
      operations:
      - method: POST
        name: createactorreminder
        description: Dapr Create Actor Reminder
        call: actors-actors.createactorreminder
        with:
          name: rest.name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getactorreminder
        description: Dapr Get Actor Reminder
        call: actors-actors.getactorreminder
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteactorreminder
        description: Dapr Delete Actor Reminder
        call: actors-actors.deleteactorreminder
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1-0/actors/{actortype}/{actorid}/state
      name: v1-0-actors-actortype-actorid-state
      description: REST surface for v1.0-actors-actorType-actorId-state.
      operations:
      - method: GET
        name: getactorstate
        description: Dapr Get Actor State
        call: actors-actors.getactorstate
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: saveactorstatetransactional
        description: Dapr Save Actor State (Transactional)
        call: actors-actors.saveactorstatetransactional
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1-0/actors/{actortype}/{actorid}/state/{key}
      name: v1-0-actors-actortype-actorid-state-key
      description: REST surface for v1.0-actors-actorType-actorId-state-key.
      operations:
      - method: GET
        name: getactorstatebykey
        description: Dapr Get Actor State by Key
        call: actors-actors.getactorstatebykey
        with:
          key: rest.key
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1-0/actors/{actortype}/{actorid}/timers/{name}
      name: v1-0-actors-actortype-actorid-timers-name
      description: REST surface for v1.0-actors-actorType-actorId-timers-name.
      operations:
      - method: POST
        name: createactortimer
        description: Dapr Create Actor Timer
        call: actors-actors.createactortimer
        with:
          name: rest.name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteactortimer
        description: Dapr Delete Actor Timer
        call: actors-actors.deleteactortimer
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: actors-actors-mcp
    port: 9090
    transport: http
    description: MCP adapter for Dapr Actors API — Actors. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: dapr-invoke-actor-method
      description: Dapr Invoke Actor Method
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: actors-actors.invokeactormethod
      with:
        method: tools.method
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: dapr-invoke-actor-method-put
      description: Dapr Invoke Actor Method (PUT)
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: actors-actors.invokeactormethodput
      with:
        method: tools.method
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: dapr-invoke-actor-method-get
      description: Dapr Invoke Actor Method (GET)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: actors-actors.invokeactormethodget
      with:
        method: tools.method
      outputParameters:
      - type: object
        mapping: $.
    - name: dapr-invoke-actor-method-delete
      description: Dapr Invoke Actor Method (DELETE)
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: actors-actors.invokeactormethoddelete
      with:
        method: tools.method
      outputParameters:
      - type: object
        mapping: $.
    - name: dapr-create-actor-reminder
      description: Dapr Create Actor Reminder
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: actors-actors.createactorreminder
      with:
        name: tools.name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: dapr-get-actor-reminder
      description: Dapr Get Actor Reminder
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: actors-actors.getactorreminder
      with:
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.
    - name: dapr-delete-actor-reminder
      description: Dapr Delete Actor Reminder
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: actors-actors.deleteactorreminder
      with:
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.
    - name: dapr-get-actor-state
      description: Dapr Get Actor State
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: actors-actors.getactorstate
      outputParameters:
      - type: object
        mapping: $.
    - name: dapr-save-actor-state-transactional
      description: Dapr Save Actor State (Transactional)
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: actors-actors.saveactorstatetransactional
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: dapr-get-actor-state-key
      description: Dapr Get Actor State by Key
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: actors-actors.getactorstatebykey
      with:
        key: tools.key
      outputParameters:
      - type: object
        mapping: $.
    - name: dapr-create-actor-timer
      description: Dapr Create Actor Timer
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: actors-actors.createactortimer
      with:
        name: tools.name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: dapr-delete-actor-timer
      description: Dapr Delete Actor Timer
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: actors-actors.deleteactortimer
      with:
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.