naftiko: 1.0.0-alpha2 info: label: Canva Connect API — Designs description: 'Canva Connect API — Designs. 3 operations. Lead operation: Canva List Designs. Self-contained Naftiko capability covering one Canva business surface.' tags: - Canva - Designs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CANVA_API_KEY: CANVA_API_KEY capability: consumes: - type: http namespace: connect-designs baseUri: https://api.canva.com/rest/v1 description: Canva Connect API — Designs business capability. Self-contained, no shared references. resources: - name: designs path: /designs operations: - name: listdesigns method: GET description: Canva List Designs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: query in: query type: string description: Search term to filter designs (max 255 characters) - name: ownership in: query type: string description: Filter designs by ownership status - name: sort_by in: query type: string description: Sort order for results - name: limit in: query type: integer description: Number of results per page - name: continuation in: query type: string description: Continuation token for paginated results - name: createdesign method: POST description: Canva Create a Design outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: designs-designId path: /designs/{designId} operations: - name: getdesign method: GET description: Canva Get a Design outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.CANVA_API_KEY}}' exposes: - type: rest namespace: connect-designs-rest port: 8080 description: REST adapter for Canva Connect API — Designs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/designs name: designs description: REST surface for designs. operations: - method: GET name: listdesigns description: Canva List Designs call: connect-designs.listdesigns with: query: rest.query ownership: rest.ownership sort_by: rest.sort_by limit: rest.limit continuation: rest.continuation outputParameters: - type: object mapping: $. - method: POST name: createdesign description: Canva Create a Design call: connect-designs.createdesign with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/designs/{designid} name: designs-designid description: REST surface for designs-designId. operations: - method: GET name: getdesign description: Canva Get a Design call: connect-designs.getdesign outputParameters: - type: object mapping: $. - type: mcp namespace: connect-designs-mcp port: 9090 transport: http description: MCP adapter for Canva Connect API — Designs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: canva-list-designs description: Canva List Designs hints: readOnly: true destructive: false idempotent: true call: connect-designs.listdesigns with: query: tools.query ownership: tools.ownership sort_by: tools.sort_by limit: tools.limit continuation: tools.continuation outputParameters: - type: object mapping: $. - name: canva-create-design description: Canva Create a Design hints: readOnly: false destructive: false idempotent: false call: connect-designs.createdesign with: body: tools.body outputParameters: - type: object mapping: $. - name: canva-get-design description: Canva Get a Design hints: readOnly: true destructive: false idempotent: true call: connect-designs.getdesign outputParameters: - type: object mapping: $.