naftiko: 1.0.0-alpha2 info: label: Citrix Endpoint Management REST API — Policies description: 'Citrix Endpoint Management REST API — Policies. 1 operations. Lead operation: Citrix Deploy policies to devices. Self-contained Naftiko capability covering one Citrix business surface.' tags: - Citrix - Policies created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CITRIX_API_KEY: CITRIX_API_KEY capability: consumes: - type: http namespace: endpoint-management-policies baseUri: https://{xms-server}:4443/xenmobile/api/v1 description: Citrix Endpoint Management REST API — Policies business capability. Self-contained, no shared references. resources: - name: device-policy-deploy path: /device/policy/deploy operations: - name: deploypolicy method: POST description: Citrix Deploy policies to devices 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: auth_token value: '{{env.CITRIX_API_KEY}}' placement: header exposes: - type: rest namespace: endpoint-management-policies-rest port: 8080 description: REST adapter for Citrix Endpoint Management REST API — Policies. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/device/policy/deploy name: device-policy-deploy description: REST surface for device-policy-deploy. operations: - method: POST name: deploypolicy description: Citrix Deploy policies to devices call: endpoint-management-policies.deploypolicy with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: endpoint-management-policies-mcp port: 9090 transport: http description: MCP adapter for Citrix Endpoint Management REST API — Policies. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: citrix-deploy-policies-devices description: Citrix Deploy policies to devices hints: readOnly: false destructive: false idempotent: false call: endpoint-management-policies.deploypolicy with: body: tools.body outputParameters: - type: object mapping: $.