naftiko: 1.0.0-alpha2 info: label: Golioth Management API — Remote Procedure Call description: Golioth Management API — Remote Procedure Call. Invoke firmware-registered methods on a device from the cloud and receive the response. Self-contained Naftiko capability. tags: - Golioth - RPC - Control - Device Management created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: GOLIOTH_API_KEY: GOLIOTH_API_KEY capability: consumes: - type: http namespace: management-rpc baseUri: https://api.golioth.io description: Golioth Management API — Remote Procedure Call business capability. resources: - name: v1-device-rpc path: /v1/projects/{projectId}/devices/{deviceId}/rpc operations: - name: invokeRpc method: POST description: Golioth Invoke Device RPC outputRawFormat: json inputParameters: - name: projectId in: path type: string required: true - name: deviceId in: path type: string required: true - name: body in: body type: object required: true outputParameters: - name: result type: object value: $. authentication: type: apikey key: x-api-key value: '{{env.GOLIOTH_API_KEY}}' placement: header exposes: - type: mcp namespace: management-rpc-mcp port: 9090 transport: http description: MCP adapter for Golioth RPC capability. tools: - name: golioth-invoke-rpc description: Golioth Invoke Device RPC hints: readOnly: false destructive: false idempotent: false call: management-rpc.invokeRpc with: projectId: tools.projectId deviceId: tools.deviceId body: tools.body outputParameters: - type: object mapping: $.