Dapr · Capability

Dapr Service Invocation API — ServiceInvocation

Dapr Service Invocation API — ServiceInvocation. 5 operations. Lead operation: Dapr Invoke Method (GET). Self-contained Naftiko capability covering one Dapr business surface.

Run with Naftiko DaprServiceInvocation

What You Can Do

GET
Invokemethodget — Dapr Invoke Method (GET)
/v1/v1-0/invoke/{appid}/method/{method-name}
POST
Invokemethodpost — Dapr Invoke Method (POST)
/v1/v1-0/invoke/{appid}/method/{method-name}
PUT
Invokemethodput — Dapr Invoke Method (PUT)
/v1/v1-0/invoke/{appid}/method/{method-name}
DELETE
Invokemethoddelete — Dapr Invoke Method (DELETE)
/v1/v1-0/invoke/{appid}/method/{method-name}
PATCH
Invokemethodpatch — Dapr Invoke Method (PATCH)
/v1/v1-0/invoke/{appid}/method/{method-name}

MCP Tools

dapr-invoke-method-get

Dapr Invoke Method (GET)

read-only idempotent
dapr-invoke-method-post

Dapr Invoke Method (POST)

dapr-invoke-method-put

Dapr Invoke Method (PUT)

idempotent
dapr-invoke-method-delete

Dapr Invoke Method (DELETE)

idempotent
dapr-invoke-method-patch

Dapr Invoke Method (PATCH)

idempotent

Capability Spec

service-invocation-serviceinvocation.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Dapr Service Invocation API — ServiceInvocation
  description: 'Dapr Service Invocation API — ServiceInvocation. 5 operations. Lead operation: Dapr Invoke Method (GET). Self-contained
    Naftiko capability covering one Dapr business surface.'
  tags:
  - Dapr
  - ServiceInvocation
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DAPR_API_KEY: DAPR_API_KEY
capability:
  consumes:
  - type: http
    namespace: service-invocation-serviceinvocation
    baseUri: http://localhost:3500
    description: Dapr Service Invocation API — ServiceInvocation business capability. Self-contained, no shared references.
    resources:
    - name: v1.0-invoke-appId-method-method-name
      path: /v1.0/invoke/{appId}/method/{method-name}
      operations:
      - name: invokemethodget
        method: GET
        description: Dapr Invoke Method (GET)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: appId
          in: path
          type: string
          description: The App ID of the remote application.
          required: true
        - name: method-name
          in: path
          type: string
          description: The name of the method to invoke.
          required: true
      - name: invokemethodpost
        method: POST
        description: Dapr Invoke Method (POST)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: appId
          in: path
          type: string
          description: The App ID of the remote application.
          required: true
        - name: method-name
          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: invokemethodput
        method: PUT
        description: Dapr Invoke Method (PUT)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: appId
          in: path
          type: string
          description: The App ID of the remote application.
          required: true
        - name: method-name
          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: invokemethoddelete
        method: DELETE
        description: Dapr Invoke Method (DELETE)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: appId
          in: path
          type: string
          description: The App ID of the remote application.
          required: true
        - name: method-name
          in: path
          type: string
          description: The name of the method to invoke.
          required: true
      - name: invokemethodpatch
        method: PATCH
        description: Dapr Invoke Method (PATCH)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: appId
          in: path
          type: string
          description: The App ID of the remote application.
          required: true
        - name: method-name
          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
  exposes:
  - type: rest
    namespace: service-invocation-serviceinvocation-rest
    port: 8080
    description: REST adapter for Dapr Service Invocation API — ServiceInvocation. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v1-0/invoke/{appid}/method/{method-name}
      name: v1-0-invoke-appid-method-method-name
      description: REST surface for v1.0-invoke-appId-method-method-name.
      operations:
      - method: GET
        name: invokemethodget
        description: Dapr Invoke Method (GET)
        call: service-invocation-serviceinvocation.invokemethodget
        with:
          appId: rest.appId
          method-name: rest.method-name
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: invokemethodpost
        description: Dapr Invoke Method (POST)
        call: service-invocation-serviceinvocation.invokemethodpost
        with:
          appId: rest.appId
          method-name: rest.method-name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: invokemethodput
        description: Dapr Invoke Method (PUT)
        call: service-invocation-serviceinvocation.invokemethodput
        with:
          appId: rest.appId
          method-name: rest.method-name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: invokemethoddelete
        description: Dapr Invoke Method (DELETE)
        call: service-invocation-serviceinvocation.invokemethoddelete
        with:
          appId: rest.appId
          method-name: rest.method-name
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: invokemethodpatch
        description: Dapr Invoke Method (PATCH)
        call: service-invocation-serviceinvocation.invokemethodpatch
        with:
          appId: rest.appId
          method-name: rest.method-name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: service-invocation-serviceinvocation-mcp
    port: 9090
    transport: http
    description: MCP adapter for Dapr Service Invocation API — ServiceInvocation. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: dapr-invoke-method-get
      description: Dapr Invoke Method (GET)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: service-invocation-serviceinvocation.invokemethodget
      with:
        appId: tools.appId
        method-name: tools.method-name
      outputParameters:
      - type: object
        mapping: $.
    - name: dapr-invoke-method-post
      description: Dapr Invoke Method (POST)
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: service-invocation-serviceinvocation.invokemethodpost
      with:
        appId: tools.appId
        method-name: tools.method-name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: dapr-invoke-method-put
      description: Dapr Invoke Method (PUT)
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: service-invocation-serviceinvocation.invokemethodput
      with:
        appId: tools.appId
        method-name: tools.method-name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: dapr-invoke-method-delete
      description: Dapr Invoke Method (DELETE)
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: service-invocation-serviceinvocation.invokemethoddelete
      with:
        appId: tools.appId
        method-name: tools.method-name
      outputParameters:
      - type: object
        mapping: $.
    - name: dapr-invoke-method-patch
      description: Dapr Invoke Method (PATCH)
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: service-invocation-serviceinvocation.invokemethodpatch
      with:
        appId: tools.appId
        method-name: tools.method-name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.