naftiko: 1.0.0-alpha2 info: label: Canva Connect API — Resizes description: 'Canva Connect API — Resizes. 2 operations. Lead operation: Canva Create a Design Resize Job. Self-contained Naftiko capability covering one Canva business surface.' tags: - Canva - Resizes created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CANVA_API_KEY: CANVA_API_KEY capability: consumes: - type: http namespace: connect-resizes baseUri: https://api.canva.com/rest/v1 description: Canva Connect API — Resizes business capability. Self-contained, no shared references. resources: - name: resizes path: /resizes operations: - name: createdesignresizejob method: POST description: Canva Create a Design Resize Job outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: resizes-jobId path: /resizes/{jobId} operations: - name: getdesignresizejob method: GET description: Canva Get a Design Resize Job outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.CANVA_API_KEY}}' exposes: - type: rest namespace: connect-resizes-rest port: 8080 description: REST adapter for Canva Connect API — Resizes. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/resizes name: resizes description: REST surface for resizes. operations: - method: POST name: createdesignresizejob description: Canva Create a Design Resize Job call: connect-resizes.createdesignresizejob with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/resizes/{jobid} name: resizes-jobid description: REST surface for resizes-jobId. operations: - method: GET name: getdesignresizejob description: Canva Get a Design Resize Job call: connect-resizes.getdesignresizejob outputParameters: - type: object mapping: $. - type: mcp namespace: connect-resizes-mcp port: 9090 transport: http description: MCP adapter for Canva Connect API — Resizes. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: canva-create-design-resize-job description: Canva Create a Design Resize Job hints: readOnly: false destructive: false idempotent: false call: connect-resizes.createdesignresizejob with: body: tools.body outputParameters: - type: object mapping: $. - name: canva-get-design-resize-job description: Canva Get a Design Resize Job hints: readOnly: true destructive: false idempotent: true call: connect-resizes.getdesignresizejob outputParameters: - type: object mapping: $.