naftiko: 1.0.0-alpha2 info: label: Fastly Authentication Tokens API — Automation Tokens description: 'Fastly Authentication Tokens API — Automation Tokens. 4 operations. Lead operation: List automation tokens. Self-contained Naftiko capability covering one Fastly business surface.' tags: - Fastly - Automation Tokens created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FASTLY_API_KEY: FASTLY_API_KEY capability: consumes: - type: http namespace: authentication-tokens-automation-tokens baseUri: https://api.fastly.com description: Fastly Authentication Tokens API — Automation Tokens business capability. Self-contained, no shared references. resources: - name: automation-tokens path: /automation-tokens operations: - name: listautomationtokens method: GET description: List automation tokens outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: per_page in: query type: integer description: The number of items per page. - name: page in: query type: integer description: The page number to retrieve. - name: createautomationtoken method: POST description: Create an automation token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: automation-tokens-automation_token_id path: /automation-tokens/{automation_token_id} operations: - name: getautomationtoken method: GET description: Get an automation token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: automation_token_id in: path type: string description: The alphanumeric string identifying the automation token. required: true - name: revokeautomationtoken method: DELETE description: Revoke an automation token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: automation_token_id in: path type: string description: The alphanumeric string identifying the automation token. required: true authentication: type: apikey key: Fastly-Key value: '{{env.FASTLY_API_KEY}}' placement: header exposes: - type: rest namespace: authentication-tokens-automation-tokens-rest port: 8080 description: REST adapter for Fastly Authentication Tokens API — Automation Tokens. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/automation-tokens name: automation-tokens description: REST surface for automation-tokens. operations: - method: GET name: listautomationtokens description: List automation tokens call: authentication-tokens-automation-tokens.listautomationtokens with: per_page: rest.per_page page: rest.page outputParameters: - type: object mapping: $. - method: POST name: createautomationtoken description: Create an automation token call: authentication-tokens-automation-tokens.createautomationtoken with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/automation-tokens/{automation-token-id} name: automation-tokens-automation-token-id description: REST surface for automation-tokens-automation_token_id. operations: - method: GET name: getautomationtoken description: Get an automation token call: authentication-tokens-automation-tokens.getautomationtoken with: automation_token_id: rest.automation_token_id outputParameters: - type: object mapping: $. - method: DELETE name: revokeautomationtoken description: Revoke an automation token call: authentication-tokens-automation-tokens.revokeautomationtoken with: automation_token_id: rest.automation_token_id outputParameters: - type: object mapping: $. - type: mcp namespace: authentication-tokens-automation-tokens-mcp port: 9090 transport: http description: MCP adapter for Fastly Authentication Tokens API — Automation Tokens. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-automation-tokens description: List automation tokens hints: readOnly: true destructive: false idempotent: true call: authentication-tokens-automation-tokens.listautomationtokens with: per_page: tools.per_page page: tools.page outputParameters: - type: object mapping: $. - name: create-automation-token description: Create an automation token hints: readOnly: false destructive: false idempotent: false call: authentication-tokens-automation-tokens.createautomationtoken with: body: tools.body outputParameters: - type: object mapping: $. - name: get-automation-token description: Get an automation token hints: readOnly: true destructive: false idempotent: true call: authentication-tokens-automation-tokens.getautomationtoken with: automation_token_id: tools.automation_token_id outputParameters: - type: object mapping: $. - name: revoke-automation-token description: Revoke an automation token hints: readOnly: false destructive: true idempotent: true call: authentication-tokens-automation-tokens.revokeautomationtoken with: automation_token_id: tools.automation_token_id outputParameters: - type: object mapping: $.