naftiko: 1.0.0-alpha2 info: label: Schematic API — planbundle description: 'Schematic API — planbundle. 2 operations. Lead operation: Create plan bundle. Self-contained Naftiko capability covering one Schematic business surface.' tags: - Schematic - planbundle created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SCHEMATIC_API_KEY: SCHEMATIC_API_KEY capability: consumes: - type: http namespace: schematic-planbundle baseUri: https://api.schematichq.com description: Schematic API — planbundle business capability. Self-contained, no shared references. resources: - name: plan-bundles path: /plan-bundles operations: - name: createplanbundle method: POST description: Create plan bundle outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: plan-bundles-plan_bundle_id path: /plan-bundles/{plan_bundle_id} operations: - name: updateplanbundle method: PUT description: Update plan bundle outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: plan_bundle_id in: path type: string description: plan_bundle_id required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-Schematic-Api-Key value: '{{env.SCHEMATIC_API_KEY}}' placement: header exposes: - type: rest namespace: schematic-planbundle-rest port: 8080 description: REST adapter for Schematic API — planbundle. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/plan-bundles name: plan-bundles description: REST surface for plan-bundles. operations: - method: POST name: createplanbundle description: Create plan bundle call: schematic-planbundle.createplanbundle with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/plan-bundles/{plan-bundle-id} name: plan-bundles-plan-bundle-id description: REST surface for plan-bundles-plan_bundle_id. operations: - method: PUT name: updateplanbundle description: Update plan bundle call: schematic-planbundle.updateplanbundle with: plan_bundle_id: rest.plan_bundle_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: schematic-planbundle-mcp port: 9090 transport: http description: MCP adapter for Schematic API — planbundle. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-plan-bundle description: Create plan bundle hints: readOnly: false destructive: false idempotent: false call: schematic-planbundle.createplanbundle with: body: tools.body outputParameters: - type: object mapping: $. - name: update-plan-bundle description: Update plan bundle hints: readOnly: false destructive: false idempotent: true call: schematic-planbundle.updateplanbundle with: plan_bundle_id: tools.plan_bundle_id body: tools.body outputParameters: - type: object mapping: $.