Roku · Capability

Roku External Control Protocol (ECP) — Input

Roku External Control Protocol (ECP) — Input. 1 operations. Lead operation: Roku Send Input Event. Self-contained Naftiko capability covering one Roku business surface.

Run with Naftiko RokuInput

What You Can Do

POST
Sendinput — Roku Send Input Event
/v1/input

MCP Tools

roku-send-input-event

Roku Send Input Event

Capability Spec

external-control-protocol-input.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Roku External Control Protocol (ECP) — Input
  description: 'Roku External Control Protocol (ECP) — Input. 1 operations. Lead operation: Roku Send Input Event. Self-contained
    Naftiko capability covering one Roku business surface.'
  tags:
  - Roku
  - Input
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ROKU_API_KEY: ROKU_API_KEY
capability:
  consumes:
  - type: http
    namespace: external-control-protocol-input
    baseUri: http://{rokuDeviceIp}:8060
    description: Roku External Control Protocol (ECP) — Input business capability. Self-contained, no shared references.
    resources:
    - name: input
      path: /input
      operations:
      - name: sendinput
        method: POST
        description: Roku Send Input Event
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: external-control-protocol-input-rest
    port: 8080
    description: REST adapter for Roku External Control Protocol (ECP) — Input. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/input
      name: input
      description: REST surface for input.
      operations:
      - method: POST
        name: sendinput
        description: Roku Send Input Event
        call: external-control-protocol-input.sendinput
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: external-control-protocol-input-mcp
    port: 9090
    transport: http
    description: MCP adapter for Roku External Control Protocol (ECP) — Input. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: roku-send-input-event
      description: Roku Send Input Event
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: external-control-protocol-input.sendinput
      outputParameters:
      - type: object
        mapping: $.