Factset · Capability

FactSet IRN Notes API — Attachment

FactSet IRN Notes API — Attachment. 3 operations. Lead operation: Factset Delete Attachment From Note. Self-contained Naftiko capability covering one Factset business surface.

Run with Naftiko FactsetAttachment

What You Can Do

DELETE
Softdeletenoteattachment — Factset Delete Attachment From Note
/v1/v1/notes/{noteid}/attachments/{attachmentid}
GET
Downloadattachment — Factset Download an Attachment From a Note
/v1/v1/notes/{noteid}/attachments/{attachmentid}/download
GET
Downloadcommentattachmentforcomment — Factset Download Single Attachment Detail of a Comment Belonging to a Note
/v1/v1/notes/{noteid}/comments/{commentid}/attachments/{attachmentid}/download

MCP Tools

factset-delete-attachment-note

Factset Delete Attachment From Note

idempotent
factset-download-attachment-note

Factset Download an Attachment From a Note

read-only idempotent
factset-download-single-attachment-detail

Factset Download Single Attachment Detail of a Comment Belonging to a Note

read-only idempotent

Capability Spec

irn-notes-attachment.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: FactSet IRN Notes API — Attachment
  description: 'FactSet IRN Notes API — Attachment. 3 operations. Lead operation: Factset Delete Attachment From Note. Self-contained
    Naftiko capability covering one Factset business surface.'
  tags:
  - Factset
  - Attachment
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FACTSET_API_KEY: FACTSET_API_KEY
capability:
  consumes:
  - type: http
    namespace: irn-notes-attachment
    baseUri: https://api.factset.com/research/irn
    description: FactSet IRN Notes API — Attachment business capability. Self-contained, no shared references.
    resources:
    - name: v1-notes-noteId-attachments-attachmentId
      path: /v1/notes/{noteId}/attachments/{attachmentId}
      operations:
      - name: softdeletenoteattachment
        method: DELETE
        description: Factset Delete Attachment From Note
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: noteId
          in: path
          type: string
          description: Note Id
          required: true
        - name: attachmentId
          in: path
          type: string
          description: Attachment Id
          required: true
    - name: v1-notes-noteId-attachments-attachmentId-download
      path: /v1/notes/{noteId}/attachments/{attachmentId}/download
      operations:
      - name: downloadattachment
        method: GET
        description: Factset Download an Attachment From a Note
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: noteId
          in: path
          type: string
          required: true
        - name: attachmentId
          in: path
          type: string
          required: true
    - name: v1-notes-noteId-comments-commentId-attachments-attachmentId-download
      path: /v1/notes/{noteId}/comments/{commentId}/attachments/{attachmentId}/download
      operations:
      - name: downloadcommentattachmentforcomment
        method: GET
        description: Factset Download Single Attachment Detail of a Comment Belonging to a Note
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: noteId
          in: path
          type: string
          required: true
        - name: commentId
          in: path
          type: string
          required: true
        - name: attachmentId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.FACTSET_API_KEY}}'
  exposes:
  - type: rest
    namespace: irn-notes-attachment-rest
    port: 8080
    description: REST adapter for FactSet IRN Notes API — Attachment. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/notes/{noteid}/attachments/{attachmentid}
      name: v1-notes-noteid-attachments-attachmentid
      description: REST surface for v1-notes-noteId-attachments-attachmentId.
      operations:
      - method: DELETE
        name: softdeletenoteattachment
        description: Factset Delete Attachment From Note
        call: irn-notes-attachment.softdeletenoteattachment
        with:
          noteId: rest.noteId
          attachmentId: rest.attachmentId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/notes/{noteid}/attachments/{attachmentid}/download
      name: v1-notes-noteid-attachments-attachmentid-download
      description: REST surface for v1-notes-noteId-attachments-attachmentId-download.
      operations:
      - method: GET
        name: downloadattachment
        description: Factset Download an Attachment From a Note
        call: irn-notes-attachment.downloadattachment
        with:
          noteId: rest.noteId
          attachmentId: rest.attachmentId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/notes/{noteid}/comments/{commentid}/attachments/{attachmentid}/download
      name: v1-notes-noteid-comments-commentid-attachments-attachmentid-download
      description: REST surface for v1-notes-noteId-comments-commentId-attachments-attachmentId-download.
      operations:
      - method: GET
        name: downloadcommentattachmentforcomment
        description: Factset Download Single Attachment Detail of a Comment Belonging to a Note
        call: irn-notes-attachment.downloadcommentattachmentforcomment
        with:
          noteId: rest.noteId
          commentId: rest.commentId
          attachmentId: rest.attachmentId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: irn-notes-attachment-mcp
    port: 9090
    transport: http
    description: MCP adapter for FactSet IRN Notes API — Attachment. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: factset-delete-attachment-note
      description: Factset Delete Attachment From Note
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: irn-notes-attachment.softdeletenoteattachment
      with:
        noteId: tools.noteId
        attachmentId: tools.attachmentId
      outputParameters:
      - type: object
        mapping: $.
    - name: factset-download-attachment-note
      description: Factset Download an Attachment From a Note
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: irn-notes-attachment.downloadattachment
      with:
        noteId: tools.noteId
        attachmentId: tools.attachmentId
      outputParameters:
      - type: object
        mapping: $.
    - name: factset-download-single-attachment-detail
      description: Factset Download Single Attachment Detail of a Comment Belonging to a Note
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: irn-notes-attachment.downloadcommentattachmentforcomment
      with:
        noteId: tools.noteId
        commentId: tools.commentId
        attachmentId: tools.attachmentId
      outputParameters:
      - type: object
        mapping: $.