Toro · Capability

Toro IntelliDash — Sensors

Toro IntelliDash — Sensors. 2 operations. Lead operation: List Sensors. Self-contained Naftiko capability covering one Toro business surface.

Run with Naftiko ToroSensors

What You Can Do

GET
Listsensors — List Sensors
/v1/sensors
GET
Getsensorreadings — Get Sensor Readings
/v1/sensors/{sensorid}/readings

MCP Tools

list-sensors

List Sensors

read-only idempotent
get-sensor-readings

Get Sensor Readings

read-only idempotent

Capability Spec

intellidash-sensors.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Toro IntelliDash — Sensors
  description: 'Toro IntelliDash — Sensors. 2 operations. Lead operation: List Sensors. Self-contained Naftiko capability
    covering one Toro business surface.'
  tags:
  - Toro
  - Sensors
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TORO_API_KEY: TORO_API_KEY
capability:
  consumes:
  - type: http
    namespace: intellidash-sensors
    baseUri: https://api.intellidash.toro.com/v1
    description: Toro IntelliDash — Sensors business capability. Self-contained, no shared references.
    resources:
    - name: sensors
      path: /sensors
      operations:
      - name: listsensors
        method: GET
        description: List Sensors
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: type
          in: query
          type: string
          description: Filter by sensor type
    - name: sensors-sensorId-readings
      path: /sensors/{sensorId}/readings
      operations:
      - name: getsensorreadings
        method: GET
        description: Get Sensor Readings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sensorId
          in: path
          type: string
          required: true
        - name: startDate
          in: query
          type: string
          required: true
        - name: endDate
          in: query
          type: string
          required: true
        - name: interval
          in: query
          type: string
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.TORO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: intellidash-sensors-rest
    port: 8080
    description: REST adapter for Toro IntelliDash — Sensors. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/sensors
      name: sensors
      description: REST surface for sensors.
      operations:
      - method: GET
        name: listsensors
        description: List Sensors
        call: intellidash-sensors.listsensors
        with:
          type: rest.type
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sensors/{sensorid}/readings
      name: sensors-sensorid-readings
      description: REST surface for sensors-sensorId-readings.
      operations:
      - method: GET
        name: getsensorreadings
        description: Get Sensor Readings
        call: intellidash-sensors.getsensorreadings
        with:
          sensorId: rest.sensorId
          startDate: rest.startDate
          endDate: rest.endDate
          interval: rest.interval
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: intellidash-sensors-mcp
    port: 9090
    transport: http
    description: MCP adapter for Toro IntelliDash — Sensors. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-sensors
      description: List Sensors
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: intellidash-sensors.listsensors
      with:
        type: tools.type
      outputParameters:
      - type: object
        mapping: $.
    - name: get-sensor-readings
      description: Get Sensor Readings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: intellidash-sensors.getsensorreadings
      with:
        sensorId: tools.sensorId
        startDate: tools.startDate
        endDate: tools.endDate
        interval: tools.interval
      outputParameters:
      - type: object
        mapping: $.