naftiko: 1.0.0-alpha2 info: label: Marketo Engage Rest API — Text.json description: 'Marketo Engage Rest API — Text.json. 1 operations. Lead operation: Marketo Add Rich Text Field. Self-contained Naftiko capability covering one Marketo business surface.' tags: - Marketo - Text.json created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MARKETO_API_KEY: MARKETO_API_KEY capability: consumes: - type: http namespace: engage-rest-text-json baseUri: https://localhost:8080 description: Marketo Engage Rest API — Text.json business capability. Self-contained, no shared references. resources: - name: rest-asset-v1-form-id-richText.json path: /rest/asset/v1/form/{id}/richText.json operations: - name: addrichtextfieldusingpost method: POST description: Marketo Add Rich Text Field outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: id required: true - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: engage-rest-text-json-rest port: 8080 description: REST adapter for Marketo Engage Rest API — Text.json. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/asset/v1/form/{id}/richtext-json name: rest-asset-v1-form-id-richtext-json description: REST surface for rest-asset-v1-form-id-richText.json. operations: - method: POST name: addrichtextfieldusingpost description: Marketo Add Rich Text Field call: engage-rest-text-json.addrichtextfieldusingpost with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: engage-rest-text-json-mcp port: 9090 transport: http description: MCP adapter for Marketo Engage Rest API — Text.json. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: marketo-add-rich-text-field description: Marketo Add Rich Text Field hints: readOnly: false destructive: false idempotent: false call: engage-rest-text-json.addrichtextfieldusingpost with: id: tools.id body: tools.body outputParameters: - type: object mapping: $.