naftiko: 1.0.0-alpha2 info: label: Marketo Engage Rest API — Rules description: 'Marketo Engage Rest API — Rules. 3 operations. Lead operation: Marketo Get Landing Page Redirect Rule by Id. Self-contained Naftiko capability covering one Marketo business surface.' tags: - Marketo - Rules 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-rules baseUri: https://localhost:8080 description: Marketo Engage Rest API — Rules business capability. Self-contained, no shared references. resources: - name: rest-asset-v1-redirectRule-id}.json path: /rest/asset/v1/redirectRule/{id}.json operations: - name: getlandingpageredirectrulebyidusingget method: GET description: Marketo Get Landing Page Redirect Rule by Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: Id of landing page redirect rule required: true - name: updatelandingpageredirectruleusingpost method: POST description: Marketo Update Landing Page Redirect Rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: Id of landing page redirect rule required: true - name: body in: body type: object description: Request body (JSON). required: true - name: rest-asset-v1-redirectRule-id-delete.json path: /rest/asset/v1/redirectRule/{id}/delete.json operations: - name: deletelandingpageredirectruleusingpost method: POST description: Marketo Delete Landing Page Redirect Rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: Id of landing page redirect rule required: true exposes: - type: rest namespace: engage-rest-rules-rest port: 8080 description: REST adapter for Marketo Engage Rest API — Rules. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/asset/v1/redirectrule/id-json name: rest-asset-v1-redirectrule-id-json description: REST surface for rest-asset-v1-redirectRule-id}.json. operations: - method: GET name: getlandingpageredirectrulebyidusingget description: Marketo Get Landing Page Redirect Rule by Id call: engage-rest-rules.getlandingpageredirectrulebyidusingget with: id: rest.id outputParameters: - type: object mapping: $. - method: POST name: updatelandingpageredirectruleusingpost description: Marketo Update Landing Page Redirect Rule call: engage-rest-rules.updatelandingpageredirectruleusingpost with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/asset/v1/redirectrule/{id}/delete-json name: rest-asset-v1-redirectrule-id-delete-json description: REST surface for rest-asset-v1-redirectRule-id-delete.json. operations: - method: POST name: deletelandingpageredirectruleusingpost description: Marketo Delete Landing Page Redirect Rule call: engage-rest-rules.deletelandingpageredirectruleusingpost with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: engage-rest-rules-mcp port: 9090 transport: http description: MCP adapter for Marketo Engage Rest API — Rules. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: marketo-get-landing-page-redirect description: Marketo Get Landing Page Redirect Rule by Id hints: readOnly: true destructive: false idempotent: true call: engage-rest-rules.getlandingpageredirectrulebyidusingget with: id: tools.id outputParameters: - type: object mapping: $. - name: marketo-update-landing-page-redirect description: Marketo Update Landing Page Redirect Rule hints: readOnly: false destructive: false idempotent: false call: engage-rest-rules.updatelandingpageredirectruleusingpost with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: marketo-delete-landing-page-redirect description: Marketo Delete Landing Page Redirect Rule hints: readOnly: false destructive: false idempotent: false call: engage-rest-rules.deletelandingpageredirectruleusingpost with: id: tools.id outputParameters: - type: object mapping: $.