Samsung · Capability

Samsung SmartThings API — Scenes

Samsung SmartThings API — Scenes. 2 operations. Lead operation: List Scenes. Self-contained Naftiko capability covering one Samsung business surface.

Run with Naftiko SamsungScenes

What You Can Do

GET
Listscenes — List Scenes
/v1/scenes
POST
Executescene — Execute Scene
/v1/scenes/{sceneid}/execute

MCP Tools

list-scenes

List Scenes

read-only idempotent
execute-scene

Execute Scene

Capability Spec

smartthings-scenes.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Samsung SmartThings API — Scenes
  description: 'Samsung SmartThings API — Scenes. 2 operations. Lead operation: List Scenes. Self-contained Naftiko capability
    covering one Samsung business surface.'
  tags:
  - Samsung
  - Scenes
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SAMSUNG_API_KEY: SAMSUNG_API_KEY
capability:
  consumes:
  - type: http
    namespace: smartthings-scenes
    baseUri: https://api.smartthings.com/v1
    description: Samsung SmartThings API — Scenes business capability. Self-contained, no shared references.
    resources:
    - name: scenes
      path: /scenes
      operations:
      - name: listscenes
        method: GET
        description: List Scenes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: locationId
          in: query
          type: string
          description: Filter scenes by location ID.
    - name: scenes-sceneId-execute
      path: /scenes/{sceneId}/execute
      operations:
      - name: executescene
        method: POST
        description: Execute Scene
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sceneId
          in: path
          type: string
          description: Scene ID.
          required: true
    authentication:
      type: bearer
      token: '{{env.SAMSUNG_API_KEY}}'
  exposes:
  - type: rest
    namespace: smartthings-scenes-rest
    port: 8080
    description: REST adapter for Samsung SmartThings API — Scenes. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/scenes
      name: scenes
      description: REST surface for scenes.
      operations:
      - method: GET
        name: listscenes
        description: List Scenes
        call: smartthings-scenes.listscenes
        with:
          locationId: rest.locationId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/scenes/{sceneid}/execute
      name: scenes-sceneid-execute
      description: REST surface for scenes-sceneId-execute.
      operations:
      - method: POST
        name: executescene
        description: Execute Scene
        call: smartthings-scenes.executescene
        with:
          sceneId: rest.sceneId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: smartthings-scenes-mcp
    port: 9090
    transport: http
    description: MCP adapter for Samsung SmartThings API — Scenes. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-scenes
      description: List Scenes
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: smartthings-scenes.listscenes
      with:
        locationId: tools.locationId
      outputParameters:
      - type: object
        mapping: $.
    - name: execute-scene
      description: Execute Scene
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: smartthings-scenes.executescene
      with:
        sceneId: tools.sceneId
      outputParameters:
      - type: object
        mapping: $.