Rightsline · Capability

Rightsline API — Workflows

Rightsline API — Workflows. 1 operations. Lead operation: Execute Workflow Action. Self-contained Naftiko capability covering one Rightsline business surface.

Run with Naftiko RightslineWorkflows

What You Can Do

POST
Executeworkflowaction — Execute Workflow Action
/v1/workflows/{workflowid}/actions

MCP Tools

execute-workflow-action

Execute Workflow Action

Capability Spec

rightsline-workflows.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Rightsline API — Workflows
  description: 'Rightsline API — Workflows. 1 operations. Lead operation: Execute Workflow Action. Self-contained Naftiko
    capability covering one Rightsline business surface.'
  tags:
  - Rightsline
  - Workflows
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    RIGHTSLINE_API_KEY: RIGHTSLINE_API_KEY
capability:
  consumes:
  - type: http
    namespace: rightsline-workflows
    baseUri: https://app.rightsline.com/v4
    description: Rightsline API — Workflows business capability. Self-contained, no shared references.
    resources:
    - name: workflows-workflowId-actions
      path: /workflows/{workflowId}/actions
      operations:
      - name: executeworkflowaction
        method: POST
        description: Execute Workflow Action
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workflowId
          in: path
          type: string
          description: Workflow identifier
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.RIGHTSLINE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: rightsline-workflows-rest
    port: 8080
    description: REST adapter for Rightsline API — Workflows. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/workflows/{workflowid}/actions
      name: workflows-workflowid-actions
      description: REST surface for workflows-workflowId-actions.
      operations:
      - method: POST
        name: executeworkflowaction
        description: Execute Workflow Action
        call: rightsline-workflows.executeworkflowaction
        with:
          workflowId: rest.workflowId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rightsline-workflows-mcp
    port: 9090
    transport: http
    description: MCP adapter for Rightsline API — Workflows. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: execute-workflow-action
      description: Execute Workflow Action
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rightsline-workflows.executeworkflowaction
      with:
        workflowId: tools.workflowId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.