Bluesky · Capability

Bluesky Social API — Chat Moderation

Bluesky Social API — Chat Moderation. 3 operations. Lead operation: Bluesky Operation. Self-contained Naftiko capability covering one Bluesky business surface.

Run with Naftiko BlueskyChat Moderation

What You Can Do

GET
Chatmoderationgetactormetadata — Bluesky Operation
/v1/xrpc/chat-bsky-moderation-getactormetadata
GET
Chatmoderationgetmessagecontext — Bluesky Operation
/v1/xrpc/chat-bsky-moderation-getmessagecontext
POST
Chatmoderationupdateactoraccess — Bluesky Operation
/v1/xrpc/chat-bsky-moderation-updateactoraccess

MCP Tools

bluesky-operation

Bluesky Operation

read-only idempotent
bluesky-operation-2

Bluesky Operation

read-only idempotent
bluesky-operation-3

Bluesky Operation

Capability Spec

bluesky-chat-moderation.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Bluesky Social API — Chat Moderation
  description: 'Bluesky Social API — Chat Moderation. 3 operations. Lead operation: Bluesky Operation. Self-contained Naftiko
    capability covering one Bluesky business surface.'
  tags:
  - Bluesky
  - Chat Moderation
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BLUESKY_API_KEY: BLUESKY_API_KEY
capability:
  consumes:
  - type: http
    namespace: bluesky-chat-moderation
    baseUri: https://bsky.social/xrpc
    description: Bluesky Social API — Chat Moderation business capability. Self-contained, no shared references.
    resources:
    - name: xrpc-chat.bsky.moderation.getActorMetadata
      path: /xrpc/chat.bsky.moderation.getActorMetadata
      operations:
      - name: chatmoderationgetactormetadata
        method: GET
        description: Bluesky Operation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: actor
          in: query
          type: string
          required: true
    - name: xrpc-chat.bsky.moderation.getMessageContext
      path: /xrpc/chat.bsky.moderation.getMessageContext
      operations:
      - name: chatmoderationgetmessagecontext
        method: GET
        description: Bluesky Operation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: convoId
          in: query
          type: string
          description: 'Conversation that the message is from. NOTE: this field will eventually be required.'
        - name: messageId
          in: query
          type: string
          required: true
        - name: before
          in: query
          type: integer
        - name: after
          in: query
          type: integer
    - name: xrpc-chat.bsky.moderation.updateActorAccess
      path: /xrpc/chat.bsky.moderation.updateActorAccess
      operations:
      - name: chatmoderationupdateactoraccess
        method: POST
        description: Bluesky Operation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.BLUESKY_API_KEY}}'
  exposes:
  - type: rest
    namespace: bluesky-chat-moderation-rest
    port: 8080
    description: REST adapter for Bluesky Social API — Chat Moderation. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/xrpc/chat-bsky-moderation-getactormetadata
      name: xrpc-chat-bsky-moderation-getactormetadata
      description: REST surface for xrpc-chat.bsky.moderation.getActorMetadata.
      operations:
      - method: GET
        name: chatmoderationgetactormetadata
        description: Bluesky Operation
        call: bluesky-chat-moderation.chatmoderationgetactormetadata
        with:
          actor: rest.actor
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/xrpc/chat-bsky-moderation-getmessagecontext
      name: xrpc-chat-bsky-moderation-getmessagecontext
      description: REST surface for xrpc-chat.bsky.moderation.getMessageContext.
      operations:
      - method: GET
        name: chatmoderationgetmessagecontext
        description: Bluesky Operation
        call: bluesky-chat-moderation.chatmoderationgetmessagecontext
        with:
          convoId: rest.convoId
          messageId: rest.messageId
          before: rest.before
          after: rest.after
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/xrpc/chat-bsky-moderation-updateactoraccess
      name: xrpc-chat-bsky-moderation-updateactoraccess
      description: REST surface for xrpc-chat.bsky.moderation.updateActorAccess.
      operations:
      - method: POST
        name: chatmoderationupdateactoraccess
        description: Bluesky Operation
        call: bluesky-chat-moderation.chatmoderationupdateactoraccess
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bluesky-chat-moderation-mcp
    port: 9090
    transport: http
    description: MCP adapter for Bluesky Social API — Chat Moderation. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: bluesky-operation
      description: Bluesky Operation
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bluesky-chat-moderation.chatmoderationgetactormetadata
      with:
        actor: tools.actor
      outputParameters:
      - type: object
        mapping: $.
    - name: bluesky-operation-2
      description: Bluesky Operation
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bluesky-chat-moderation.chatmoderationgetmessagecontext
      with:
        convoId: tools.convoId
        messageId: tools.messageId
        before: tools.before
        after: tools.after
      outputParameters:
      - type: object
        mapping: $.
    - name: bluesky-operation-3
      description: Bluesky Operation
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: bluesky-chat-moderation.chatmoderationupdateactoraccess
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.