naftiko: 1.0.0-alpha2 info: label: Zabbix API — Host Groups description: 'Zabbix API — Host Groups. 2 operations. Lead operation: Create Host Group. Self-contained Naftiko capability covering one Zabbix business surface.' tags: - Zabbix - Host Groups created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ZABBIX_API_KEY: ZABBIX_API_KEY capability: consumes: - type: http namespace: zabbix-host-groups baseUri: https://{host}/zabbix/api_jsonrpc.php description: Zabbix API — Host Groups business capability. Self-contained, no shared references. resources: - name: hostgroup.create path: /hostgroup.create operations: - name: hostgroupcreate method: POST description: Create Host Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: hostgroup.get path: /hostgroup.get operations: - name: hostgroupget method: POST description: Get Host Groups outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Authorization value: '{{env.ZABBIX_API_KEY}}' placement: header exposes: - type: rest namespace: zabbix-host-groups-rest port: 8080 description: REST adapter for Zabbix API — Host Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/hostgroup-create name: hostgroup-create description: REST surface for hostgroup.create. operations: - method: POST name: hostgroupcreate description: Create Host Group call: zabbix-host-groups.hostgroupcreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/hostgroup-get name: hostgroup-get description: REST surface for hostgroup.get. operations: - method: POST name: hostgroupget description: Get Host Groups call: zabbix-host-groups.hostgroupget with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: zabbix-host-groups-mcp port: 9090 transport: http description: MCP adapter for Zabbix API — Host Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-host-group description: Create Host Group hints: readOnly: false destructive: false idempotent: false call: zabbix-host-groups.hostgroupcreate with: body: tools.body outputParameters: - type: object mapping: $. - name: get-host-groups description: Get Host Groups hints: readOnly: true destructive: false idempotent: false call: zabbix-host-groups.hostgroupget with: body: tools.body outputParameters: - type: object mapping: $.