Microsoft Azure · Capability

Microsoft Azure Azure AgFoodPlatform Data Plane Service — Attachments

Microsoft Azure Azure AgFoodPlatform Data Plane Service — Attachments. 5 operations. Lead operation: Microsoft Azure Get Parties Partyid Attachments. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureAttachments

What You Can Do

GET
Microsoftazureattachmentslistbypartyid — Microsoft Azure Get Parties Partyid Attachments
/v1/parties/{partyid}/attachments
GET
Microsoftazureattachmentsget — Microsoft Azure Get Parties Partyid Attachments Attachmentid
/v1/parties/{partyid}/attachments/{attachmentid}
PATCH
Microsoftazureattachmentscreateorupdate — Microsoft Azure Patch Parties Partyid Attachments Attachmentid
/v1/parties/{partyid}/attachments/{attachmentid}
DELETE
Microsoftazureattachmentsdelete — Microsoft Azure Delete Parties Partyid Attachments Attachmentid
/v1/parties/{partyid}/attachments/{attachmentid}
GET
Microsoftazureattachmentsdownload — Microsoft Azure Get Parties Partyid Attachments Attachmentid File
/v1/parties/{partyid}/attachments/{attachmentid}/file

MCP Tools

microsoft-azure-get-parties-partyid

Microsoft Azure Get Parties Partyid Attachments

read-only idempotent
microsoft-azure-get-parties-partyid-2

Microsoft Azure Get Parties Partyid Attachments Attachmentid

read-only idempotent
microsoft-azure-patch-parties-partyid

Microsoft Azure Patch Parties Partyid Attachments Attachmentid

idempotent
microsoft-azure-delete-parties-partyid

Microsoft Azure Delete Parties Partyid Attachments Attachmentid

idempotent
microsoft-azure-get-parties-partyid-3

Microsoft Azure Get Parties Partyid Attachments Attachmentid File

read-only idempotent

Capability Spec

azure-agfoodplatform-data-plane-service-attachments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure Azure AgFoodPlatform Data Plane Service — Attachments
  description: 'Microsoft Azure Azure AgFoodPlatform Data Plane Service — Attachments. 5 operations. Lead operation: Microsoft
    Azure Get Parties Partyid Attachments. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - Attachments
  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-agfoodplatform-data-plane-service-attachments
    baseUri: ''
    description: Microsoft Azure Azure AgFoodPlatform Data Plane Service — Attachments business capability. Self-contained,
      no shared references.
    resources:
    - name: parties-partyId-attachments
      path: /parties/{partyId}/attachments
      operations:
      - name: microsoftazureattachmentslistbypartyid
        method: GET
        description: Microsoft Azure Get Parties Partyid Attachments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: partyId
          in: path
          type: string
          description: Id of the associated party.
          required: true
        - name: resourceIds
          in: query
          type: array
          description: Resource Ids of the resource.
        - name: resourceTypes
          in: query
          type: array
          description: "Resource Types of the resource.\r"
        - name: ids
          in: query
          type: array
          description: Ids of the resource.
        - name: names
          in: query
          type: array
          description: Names of the resource.
        - name: propertyFilters
          in: query
          type: array
          description: "Filters on key-value pairs within the Properties object.\r"
        - name: statuses
          in: query
          type: array
          description: Statuses of the resource.
        - name: minCreatedDateTime
          in: query
          type: string
          description: Minimum creation date of resource (inclusive).
        - name: maxCreatedDateTime
          in: query
          type: string
          description: Maximum creation date of resource (inclusive).
        - name: minLastModifiedDateTime
          in: query
          type: string
          description: Minimum last modified date of resource (inclusive).
        - name: maxLastModifiedDateTime
          in: query
          type: string
          description: Maximum last modified date of resource (inclusive).
        - name: maxPageSize
          in: query
          type: integer
          description: "Maximum number of items needed (inclusive).\r"
        - name: skipToken
          in: query
          type: string
          description: Skip token for getting next set of results.
        - name: api-version
          in: query
          type: string
          description: The requested API version
          required: true
    - name: parties-partyId-attachments-attachmentId
      path: /parties/{partyId}/attachments/{attachmentId}
      operations:
      - name: microsoftazureattachmentsget
        method: GET
        description: Microsoft Azure Get Parties Partyid Attachments Attachmentid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: partyId
          in: path
          type: string
          description: Id of the associated party.
          required: true
        - name: attachmentId
          in: path
          type: string
          description: Id of the attachment.
          required: true
        - name: api-version
          in: query
          type: string
          description: The requested API version
          required: true
      - name: microsoftazureattachmentscreateorupdate
        method: PATCH
        description: Microsoft Azure Patch Parties Partyid Attachments Attachmentid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: partyId
          in: path
          type: string
          description: Id of the associated party resource.
          required: true
        - name: attachmentId
          in: path
          type: string
          description: Id of the attachment resource.
          required: true
        - name: api-version
          in: query
          type: string
          description: The requested API version
          required: true
        - name: file
          in: formData
          type: file
          description: File to be uploaded.
        - name: resourceId
          in: formData
          type: string
          description: Associated Resource id for this attachment.
        - name: resourceType
          in: formData
          type: string
          description: Associated Resource type for this attachment.
        - name: originalFileName
          in: formData
          type: string
          description: Original File Name for this attachment.
        - name: id
          in: formData
          type: string
          description: Unique id.
        - name: status
          in: formData
          type: string
          description: Status of the resource.
        - name: createdDateTime
          in: formData
          type: string
          description: Date when resource was created.
        - name: modifiedDateTime
          in: formData
          type: string
          description: Date when resource was last modified.
        - name: source
          in: formData
          type: string
          description: Source of the resource.
        - name: name
          in: formData
          type: string
          description: Name to identify resource.
        - name: description
          in: formData
          type: string
          description: Textual description of resource.
        - name: createdBy
          in: formData
          type: string
          description: Created by user/tenant id.
        - name: modifiedBy
          in: formData
          type: string
          description: Modified by user/tenant id.
      - name: microsoftazureattachmentsdelete
        method: DELETE
        description: Microsoft Azure Delete Parties Partyid Attachments Attachmentid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: partyId
          in: path
          type: string
          description: Id of the party.
          required: true
        - name: attachmentId
          in: path
          type: string
          description: Id of the attachment.
          required: true
        - name: api-version
          in: query
          type: string
          description: The requested API version
          required: true
    - name: parties-partyId-attachments-attachmentId-file
      path: /parties/{partyId}/attachments/{attachmentId}/file
      operations:
      - name: microsoftazureattachmentsdownload
        method: GET
        description: Microsoft Azure Get Parties Partyid Attachments Attachmentid File
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: partyId
          in: path
          type: string
          description: Id of the associated party.
          required: true
        - name: attachmentId
          in: path
          type: string
          description: Id of attachment to be downloaded.
          required: true
        - name: api-version
          in: query
          type: string
          description: The requested API version
          required: true
  exposes:
  - type: rest
    namespace: azure-agfoodplatform-data-plane-service-attachments-rest
    port: 8080
    description: REST adapter for Microsoft Azure Azure AgFoodPlatform Data Plane Service — Attachments. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/parties/{partyid}/attachments
      name: parties-partyid-attachments
      description: REST surface for parties-partyId-attachments.
      operations:
      - method: GET
        name: microsoftazureattachmentslistbypartyid
        description: Microsoft Azure Get Parties Partyid Attachments
        call: azure-agfoodplatform-data-plane-service-attachments.microsoftazureattachmentslistbypartyid
        with:
          partyId: rest.partyId
          resourceIds: rest.resourceIds
          resourceTypes: rest.resourceTypes
          ids: rest.ids
          names: rest.names
          propertyFilters: rest.propertyFilters
          statuses: rest.statuses
          minCreatedDateTime: rest.minCreatedDateTime
          maxCreatedDateTime: rest.maxCreatedDateTime
          minLastModifiedDateTime: rest.minLastModifiedDateTime
          maxLastModifiedDateTime: rest.maxLastModifiedDateTime
          maxPageSize: rest.maxPageSize
          skipToken: rest.skipToken
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/parties/{partyid}/attachments/{attachmentid}
      name: parties-partyid-attachments-attachmentid
      description: REST surface for parties-partyId-attachments-attachmentId.
      operations:
      - method: GET
        name: microsoftazureattachmentsget
        description: Microsoft Azure Get Parties Partyid Attachments Attachmentid
        call: azure-agfoodplatform-data-plane-service-attachments.microsoftazureattachmentsget
        with:
          partyId: rest.partyId
          attachmentId: rest.attachmentId
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: microsoftazureattachmentscreateorupdate
        description: Microsoft Azure Patch Parties Partyid Attachments Attachmentid
        call: azure-agfoodplatform-data-plane-service-attachments.microsoftazureattachmentscreateorupdate
        with:
          partyId: rest.partyId
          attachmentId: rest.attachmentId
          api-version: rest.api-version
          file: rest.file
          resourceId: rest.resourceId
          resourceType: rest.resourceType
          originalFileName: rest.originalFileName
          id: rest.id
          status: rest.status
          createdDateTime: rest.createdDateTime
          modifiedDateTime: rest.modifiedDateTime
          source: rest.source
          name: rest.name
          description: rest.description
          createdBy: rest.createdBy
          modifiedBy: rest.modifiedBy
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: microsoftazureattachmentsdelete
        description: Microsoft Azure Delete Parties Partyid Attachments Attachmentid
        call: azure-agfoodplatform-data-plane-service-attachments.microsoftazureattachmentsdelete
        with:
          partyId: rest.partyId
          attachmentId: rest.attachmentId
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/parties/{partyid}/attachments/{attachmentid}/file
      name: parties-partyid-attachments-attachmentid-file
      description: REST surface for parties-partyId-attachments-attachmentId-file.
      operations:
      - method: GET
        name: microsoftazureattachmentsdownload
        description: Microsoft Azure Get Parties Partyid Attachments Attachmentid File
        call: azure-agfoodplatform-data-plane-service-attachments.microsoftazureattachmentsdownload
        with:
          partyId: rest.partyId
          attachmentId: rest.attachmentId
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-agfoodplatform-data-plane-service-attachments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Azure AgFoodPlatform Data Plane Service — Attachments. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-get-parties-partyid
      description: Microsoft Azure Get Parties Partyid Attachments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-agfoodplatform-data-plane-service-attachments.microsoftazureattachmentslistbypartyid
      with:
        partyId: tools.partyId
        resourceIds: tools.resourceIds
        resourceTypes: tools.resourceTypes
        ids: tools.ids
        names: tools.names
        propertyFilters: tools.propertyFilters
        statuses: tools.statuses
        minCreatedDateTime: tools.minCreatedDateTime
        maxCreatedDateTime: tools.maxCreatedDateTime
        minLastModifiedDateTime: tools.minLastModifiedDateTime
        maxLastModifiedDateTime: tools.maxLastModifiedDateTime
        maxPageSize: tools.maxPageSize
        skipToken: tools.skipToken
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-parties-partyid-2
      description: Microsoft Azure Get Parties Partyid Attachments Attachmentid
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-agfoodplatform-data-plane-service-attachments.microsoftazureattachmentsget
      with:
        partyId: tools.partyId
        attachmentId: tools.attachmentId
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-patch-parties-partyid
      description: Microsoft Azure Patch Parties Partyid Attachments Attachmentid
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: azure-agfoodplatform-data-plane-service-attachments.microsoftazureattachmentscreateorupdate
      with:
        partyId: tools.partyId
        attachmentId: tools.attachmentId
        api-version: tools.api-version
        file: tools.file
        resourceId: tools.resourceId
        resourceType: tools.resourceType
        originalFileName: tools.originalFileName
        id: tools.id
        status: tools.status
        createdDateTime: tools.createdDateTime
        modifiedDateTime: tools.modifiedDateTime
        source: tools.source
        name: tools.name
        description: tools.description
        createdBy: tools.createdBy
        modifiedBy: tools.modifiedBy
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-delete-parties-partyid
      description: Microsoft Azure Delete Parties Partyid Attachments Attachmentid
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: azure-agfoodplatform-data-plane-service-attachments.microsoftazureattachmentsdelete
      with:
        partyId: tools.partyId
        attachmentId: tools.attachmentId
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-parties-partyid-3
      description: Microsoft Azure Get Parties Partyid Attachments Attachmentid File
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-agfoodplatform-data-plane-service-attachments.microsoftazureattachmentsdownload
      with:
        partyId: tools.partyId
        attachmentId: tools.attachmentId
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.