naftiko: 1.0.0-alpha2 info: label: Marketo Engage Rest API — Content.json description: 'Marketo Engage Rest API — Content.json. 2 operations. Lead operation: Marketo Get Snippet Content. Self-contained Naftiko capability covering one Marketo business surface.' tags: - Marketo - Content.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-content-json baseUri: https://localhost:8080 description: Marketo Engage Rest API — Content.json business capability. Self-contained, no shared references. resources: - name: rest-asset-v1-snippet-id-content.json path: /rest/asset/v1/snippet/{id}/content.json operations: - name: getsnippetcontentbyidusingget method: GET description: Marketo Get Snippet Content outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: id required: true - name: status in: query type: string description: Status filter for draft or approved versions - name: updatecontentusingpost1 method: POST description: Marketo Update Snippet Content outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: id required: true - name: content in: query type: string description: Content of the snippet required: true - name: type in: query type: string description: Type of snippet content required: true exposes: - type: rest namespace: engage-rest-content-json-rest port: 8080 description: REST adapter for Marketo Engage Rest API — Content.json. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/asset/v1/snippet/{id}/content-json name: rest-asset-v1-snippet-id-content-json description: REST surface for rest-asset-v1-snippet-id-content.json. operations: - method: GET name: getsnippetcontentbyidusingget description: Marketo Get Snippet Content call: engage-rest-content-json.getsnippetcontentbyidusingget with: id: rest.id status: rest.status outputParameters: - type: object mapping: $. - method: POST name: updatecontentusingpost1 description: Marketo Update Snippet Content call: engage-rest-content-json.updatecontentusingpost1 with: id: rest.id content: rest.content type: rest.type outputParameters: - type: object mapping: $. - type: mcp namespace: engage-rest-content-json-mcp port: 9090 transport: http description: MCP adapter for Marketo Engage Rest API — Content.json. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: marketo-get-snippet-content description: Marketo Get Snippet Content hints: readOnly: true destructive: false idempotent: true call: engage-rest-content-json.getsnippetcontentbyidusingget with: id: tools.id status: tools.status outputParameters: - type: object mapping: $. - name: marketo-update-snippet-content description: Marketo Update Snippet Content hints: readOnly: false destructive: false idempotent: false call: engage-rest-content-json.updatecontentusingpost1 with: id: tools.id content: tools.content type: tools.type outputParameters: - type: object mapping: $.