naftiko: 1.0.0-alpha2 info: label: Factset EMS API — Child Orders description: 'Factset EMS API — Child Orders. 3 operations. Lead operation: Factset Cancel Child Orders. Self-contained Naftiko capability covering one Factset business surface.' tags: - Factset - Child Orders created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FACTSET_API_KEY: FACTSET_API_KEY capability: consumes: - type: http namespace: trading-child-orders baseUri: https://api.factset.com/trading/ems/v0 description: Factset EMS API — Child Orders business capability. Self-contained, no shared references. resources: - name: child-orders-cancel path: /child-orders/cancel operations: - name: cancelchildorder method: POST description: Factset Cancel Child Orders outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: child-orders-create path: /child-orders/create operations: - name: createchildorder method: POST description: Factset Create Child Orders outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: child-orders-replace path: /child-orders/replace operations: - name: replacechildorder method: POST description: Factset Replace the Child Orders on EMS system. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.FACTSET_API_KEY}}' exposes: - type: rest namespace: trading-child-orders-rest port: 8080 description: REST adapter for Factset EMS API — Child Orders. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/child-orders/cancel name: child-orders-cancel description: REST surface for child-orders-cancel. operations: - method: POST name: cancelchildorder description: Factset Cancel Child Orders call: trading-child-orders.cancelchildorder with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/child-orders/create name: child-orders-create description: REST surface for child-orders-create. operations: - method: POST name: createchildorder description: Factset Create Child Orders call: trading-child-orders.createchildorder with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/child-orders/replace name: child-orders-replace description: REST surface for child-orders-replace. operations: - method: POST name: replacechildorder description: Factset Replace the Child Orders on EMS system. call: trading-child-orders.replacechildorder with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: trading-child-orders-mcp port: 9090 transport: http description: MCP adapter for Factset EMS API — Child Orders. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: factset-cancel-child-orders description: Factset Cancel Child Orders hints: readOnly: false destructive: false idempotent: false call: trading-child-orders.cancelchildorder with: body: tools.body outputParameters: - type: object mapping: $. - name: factset-create-child-orders description: Factset Create Child Orders hints: readOnly: false destructive: false idempotent: false call: trading-child-orders.createchildorder with: body: tools.body outputParameters: - type: object mapping: $. - name: factset-replace-child-orders-ems description: Factset Replace the Child Orders on EMS system. hints: readOnly: false destructive: false idempotent: false call: trading-child-orders.replacechildorder with: body: tools.body outputParameters: - type: object mapping: $.