Microsoft Azure · Capability

Microsoft Azure Azure OpenAI API version 2024-02-01 — Files:

Microsoft Azure Azure OpenAI API version 2024-02-01 — Files:. 6 operations. Lead operation: Microsoft Azure Gets A List Of All Files Owned By The Azure Openai Resource these Include User Uploaded Content Like Files With Purpose "fine Tune" For Training Or Validation Of Fine Tunes Models as Well As Files That Are Generated By The Service Such As "fine Tune Results" Which Contains Various Metrics

Run with Naftiko Microsoft AzureFiles:

What You Can Do

GET
Microsoftazurefileslist — Microsoft Azure Gets A List Of All Files Owned By The Azure Openai Resource
/v1/files
POST
Microsoftazurefilesupload — Microsoft Azure Creates A New File Entity By Uploading Data From A Local Machine Uploaded Files Can, For Example, Be Used For Training Or Evaluating Fine Tuned Models
/v1/files
POST
Microsoftazurefilesimport — Microsoft Azure Creates A New File Entity By Importing Data From A Provided Url Uploaded Files Can, For Example, Be Used For Training Or Evaluating Fine Tuned Models
/v1/files/import
GET
Microsoftazurefilesget — Microsoft Azure Gets Details For A Single File Specified By The Given File Id Including Status, Size, Purpose, Etc
/v1/files/{file-id}
DELETE
Microsoftazurefilesdelete — Microsoft Azure Deletes The File With The Given File Id
/v1/files/{file-id}
GET
Microsoftazurefilesgetcontent — Microsoft Azure Gets The Content Of The File Specified By The Given File Id
/v1/files/{file-id}/content

MCP Tools

microsoft-azure-gets-list-all

Microsoft Azure Gets A List Of All Files Owned By The Azure Openai Resource

read-only idempotent
microsoft-azure-creates-new-file

Microsoft Azure Creates A New File Entity By Uploading Data From A Local Machine Uploaded Files Can, For Example, Be Used For Training Or Evaluating Fine Tuned Models

microsoft-azure-creates-new-file-2

Microsoft Azure Creates A New File Entity By Importing Data From A Provided Url Uploaded Files Can, For Example, Be Used For Training Or Evaluating Fine Tuned Models

microsoft-azure-gets-details-single

Microsoft Azure Gets Details For A Single File Specified By The Given File Id Including Status, Size, Purpose, Etc

read-only idempotent
microsoft-azure-deletes-file-given

Microsoft Azure Deletes The File With The Given File Id

idempotent
microsoft-azure-gets-content-file

Microsoft Azure Gets The Content Of The File Specified By The Given File Id

read-only idempotent

Capability Spec

azure-openai-api-version-2024-02-01-files.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'Microsoft Azure Azure OpenAI API version 2024-02-01 — Files:'
  description: "Microsoft Azure Azure OpenAI API version 2024-02-01 — Files:. 6 operations. Lead operation: Microsoft Azure\
    \ Gets A List Of All Files Owned By The Azure Openai Resource \r\nthese Include User Uploaded Content Like Files With\
    \ Purpose \"fine Tune\" For Training Or Validation Of Fine Tunes Models\r\nas Well As Files That Are Generated By The\
    \ Service Such As \"fine Tune Results\" Which Contains Various Metrics"
  tags:
  - Microsoft Azure
  - 'Files:'
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: azure-openai-api-version-2024-02-01-files
    baseUri: ''
    description: 'Microsoft Azure Azure OpenAI API version 2024-02-01 — Files: business capability. Self-contained, no shared
      references.'
    resources:
    - name: files
      path: /files
      operations:
      - name: microsoftazurefileslist
        method: GET
        description: "Microsoft Azure Gets A List Of All Files Owned By The Azure Openai Resource \r"
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: purpose
          in: query
          type: string
          description: Only return files with the given purpose.
      - name: microsoftazurefilesupload
        method: POST
        description: Microsoft Azure Creates A New File Entity By Uploading Data From A Local Machine Uploaded Files Can,
          For Example, Be Used For Training Or Evaluating Fine Tuned Models
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: purpose
          in: formData
          type: string
          description: The intended purpose of the uploaded documents. Use "fine-tune" for fine-tuning. This allows us to
            validate the format of the uploaded file.
          required: true
        - name: file
          in: formData
          type: file
          description: Gets or sets the file to upload into Azure OpenAI.
          required: true
    - name: files-import
      path: /files/import
      operations:
      - name: microsoftazurefilesimport
        method: POST
        description: Microsoft Azure Creates A New File Entity By Importing Data From A Provided Url Uploaded Files Can, For
          Example, Be Used For Training Or Evaluating Fine Tuned Models
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fileImport
          in: body
          type: string
          description: The definition of the file to create including its purpose, the file name and the url of the file location.
          required: true
    - name: files-file-id
      path: /files/{file-id}
      operations:
      - name: microsoftazurefilesget
        method: GET
        description: Microsoft Azure Gets Details For A Single File Specified By The Given File Id Including Status, Size,
          Purpose, Etc
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: file-id
          in: path
          type: string
          description: The identifier of the file.
          required: true
      - name: microsoftazurefilesdelete
        method: DELETE
        description: "Microsoft Azure Deletes The File With The Given File Id \r"
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: file-id
          in: path
          type: string
          description: The identifier of the file.
          required: true
    - name: files-file-id-content
      path: /files/{file-id}/content
      operations:
      - name: microsoftazurefilesgetcontent
        method: GET
        description: "Microsoft Azure Gets The Content Of The File Specified By The Given File Id \r"
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: file-id
          in: path
          type: string
          description: The identifier of the file.
          required: true
  exposes:
  - type: rest
    namespace: azure-openai-api-version-2024-02-01-files-rest
    port: 8080
    description: REST adapter for Microsoft Azure Azure OpenAI API version 2024-02-01 — Files:. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/files
      name: files
      description: REST surface for files.
      operations:
      - method: GET
        name: microsoftazurefileslist
        description: "Microsoft Azure Gets A List Of All Files Owned By The Azure Openai Resource \r"
        call: azure-openai-api-version-2024-02-01-files.microsoftazurefileslist
        with:
          purpose: rest.purpose
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: microsoftazurefilesupload
        description: Microsoft Azure Creates A New File Entity By Uploading Data From A Local Machine Uploaded Files Can,
          For Example, Be Used For Training Or Evaluating Fine Tuned Models
        call: azure-openai-api-version-2024-02-01-files.microsoftazurefilesupload
        with:
          purpose: rest.purpose
          file: rest.file
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/files/import
      name: files-import
      description: REST surface for files-import.
      operations:
      - method: POST
        name: microsoftazurefilesimport
        description: Microsoft Azure Creates A New File Entity By Importing Data From A Provided Url Uploaded Files Can, For
          Example, Be Used For Training Or Evaluating Fine Tuned Models
        call: azure-openai-api-version-2024-02-01-files.microsoftazurefilesimport
        with:
          fileImport: rest.fileImport
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/files/{file-id}
      name: files-file-id
      description: REST surface for files-file-id.
      operations:
      - method: GET
        name: microsoftazurefilesget
        description: Microsoft Azure Gets Details For A Single File Specified By The Given File Id Including Status, Size,
          Purpose, Etc
        call: azure-openai-api-version-2024-02-01-files.microsoftazurefilesget
        with:
          file-id: rest.file-id
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: microsoftazurefilesdelete
        description: "Microsoft Azure Deletes The File With The Given File Id \r"
        call: azure-openai-api-version-2024-02-01-files.microsoftazurefilesdelete
        with:
          file-id: rest.file-id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/files/{file-id}/content
      name: files-file-id-content
      description: REST surface for files-file-id-content.
      operations:
      - method: GET
        name: microsoftazurefilesgetcontent
        description: "Microsoft Azure Gets The Content Of The File Specified By The Given File Id \r"
        call: azure-openai-api-version-2024-02-01-files.microsoftazurefilesgetcontent
        with:
          file-id: rest.file-id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-openai-api-version-2024-02-01-files-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Azure OpenAI API version 2024-02-01 — Files:. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-gets-list-all
      description: "Microsoft Azure Gets A List Of All Files Owned By The Azure Openai Resource \r"
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-openai-api-version-2024-02-01-files.microsoftazurefileslist
      with:
        purpose: tools.purpose
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-creates-new-file
      description: Microsoft Azure Creates A New File Entity By Uploading Data From A Local Machine Uploaded Files Can, For
        Example, Be Used For Training Or Evaluating Fine Tuned Models
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: azure-openai-api-version-2024-02-01-files.microsoftazurefilesupload
      with:
        purpose: tools.purpose
        file: tools.file
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-creates-new-file-2
      description: Microsoft Azure Creates A New File Entity By Importing Data From A Provided Url Uploaded Files Can, For
        Example, Be Used For Training Or Evaluating Fine Tuned Models
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: azure-openai-api-version-2024-02-01-files.microsoftazurefilesimport
      with:
        fileImport: tools.fileImport
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-gets-details-single
      description: Microsoft Azure Gets Details For A Single File Specified By The Given File Id Including Status, Size, Purpose,
        Etc
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-openai-api-version-2024-02-01-files.microsoftazurefilesget
      with:
        file-id: tools.file-id
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-deletes-file-given
      description: "Microsoft Azure Deletes The File With The Given File Id \r"
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: azure-openai-api-version-2024-02-01-files.microsoftazurefilesdelete
      with:
        file-id: tools.file-id
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-gets-content-file
      description: "Microsoft Azure Gets The Content Of The File Specified By The Given File Id \r"
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-openai-api-version-2024-02-01-files.microsoftazurefilesgetcontent
      with:
        file-id: tools.file-id
      outputParameters:
      - type: object
        mapping: $.