naftiko: 1.0.0-alpha2 info: label: "Freestyle Domains API \u2014 Dns Records" description: 'Freestyle Domains API dns records surface. 3 operations. Lead operation: List DNS Records. Self-contained Naftiko capability for one Freestyle business surface.' tags: - Freestyle - Domains - Dns Records created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: FREESTYLE_API_KEY: FREESTYLE_API_KEY capability: consumes: - type: http namespace: domains-dns-records baseUri: https://api.freestyle.sh description: Freestyle Domains API dns records business capability. resources: - name: dns-v1-records path: /dns/v1/records operations: - name: handle-list-records method: GET description: List DNS Records outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: domain in: query type: string required: true - name: handle-create-record method: POST description: Create DNS Record outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: handle-delete-record method: DELETE description: Delete DNS Record outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: [] authentication: type: apikey key: Authorization value: Bearer {{env.FREESTYLE_API_KEY}} placement: header exposes: - type: rest namespace: domains-dns-records-rest port: 8080 description: REST adapter for Freestyle Domains API dns-records. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/dns/v1/records name: dns-v1-records description: REST surface for dns-v1-records. operations: - method: GET name: handle-list-records description: List DNS Records call: domains-dns-records.handle-list-records with: {} outputParameters: - type: object mapping: $. - method: POST name: handle-create-record description: Create DNS Record call: domains-dns-records.handle-create-record with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: handle-delete-record description: Delete DNS Record call: domains-dns-records.handle-delete-record with: {} outputParameters: - type: object mapping: $. - type: mcp namespace: domains-dns-records-mcp port: 9090 transport: http description: MCP adapter for Freestyle Domains API dns-records. One tool per consumed operation. tools: - name: freestyle-handle-list-records description: List DNS Records hints: readOnly: true destructive: false idempotent: true call: domains-dns-records.handle-list-records with: {} outputParameters: - type: object mapping: $. - name: freestyle-handle-create-record description: Create DNS Record hints: readOnly: false destructive: false idempotent: false call: domains-dns-records.handle-create-record with: body: tools.body outputParameters: - type: object mapping: $. - name: freestyle-handle-delete-record description: Delete DNS Record hints: readOnly: false destructive: true idempotent: true call: domains-dns-records.handle-delete-record with: {} outputParameters: - type: object mapping: $.