Microsoft Azure · Capability

Microsoft Azure Azure AgFoodPlatform Data Plane Service — Prescriptions

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

Run with Naftiko Microsoft AzurePrescriptions

What You Can Do

GET
Microsoftazureprescriptionslistbypartyid — Microsoft Azure Get Parties Partyid Prescriptions
/v1/parties/{partyid}/prescriptions
GET
Microsoftazureprescriptionsget — Microsoft Azure Get Parties Partyid Prescriptions Prescriptionid
/v1/parties/{partyid}/prescriptions/{prescriptionid}
PATCH
Microsoftazureprescriptionscreateorupdate — Microsoft Azure Patch Parties Partyid Prescriptions Prescriptionid
/v1/parties/{partyid}/prescriptions/{prescriptionid}
DELETE
Microsoftazureprescriptionsdelete — Microsoft Azure Delete Parties Partyid Prescriptions Prescriptionid
/v1/parties/{partyid}/prescriptions/{prescriptionid}
GET
Microsoftazureprescriptionslist — Microsoft Azure Get Prescriptions
/v1/prescriptions
GET
Microsoftazureprescriptionsgetcascadedeletejobdetails — Microsoft Azure Get Prescriptions Cascade Delete Jobid
/v1/prescriptions/cascade-delete/{jobid}
PUT
Microsoftazureprescriptionscreatecascadedeletejob — Microsoft Azure Put Prescriptions Cascade Delete Jobid
/v1/prescriptions/cascade-delete/{jobid}

MCP Tools

microsoft-azure-get-parties-partyid

Microsoft Azure Get Parties Partyid Prescriptions

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

Microsoft Azure Get Parties Partyid Prescriptions Prescriptionid

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

Microsoft Azure Patch Parties Partyid Prescriptions Prescriptionid

idempotent
microsoft-azure-delete-parties-partyid

Microsoft Azure Delete Parties Partyid Prescriptions Prescriptionid

idempotent
microsoft-azure-get-prescriptions

Microsoft Azure Get Prescriptions

read-only idempotent
microsoft-azure-get-prescriptions-cascade

Microsoft Azure Get Prescriptions Cascade Delete Jobid

read-only idempotent
microsoft-azure-put-prescriptions-cascade

Microsoft Azure Put Prescriptions Cascade Delete Jobid

idempotent

Capability Spec

azure-agfoodplatform-data-plane-service-prescriptions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure Azure AgFoodPlatform Data Plane Service — Prescriptions
  description: 'Microsoft Azure Azure AgFoodPlatform Data Plane Service — Prescriptions. 7 operations. Lead operation: Microsoft
    Azure Get Parties Partyid Prescriptions. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - Prescriptions
  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-prescriptions
    baseUri: ''
    description: Microsoft Azure Azure AgFoodPlatform Data Plane Service — Prescriptions business capability. Self-contained,
      no shared references.
    resources:
    - name: parties-partyId-prescriptions
      path: /parties/{partyId}/prescriptions
      operations:
      - name: microsoftazureprescriptionslistbypartyid
        method: GET
        description: Microsoft Azure Get Parties Partyid Prescriptions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: partyId
          in: path
          type: string
          description: Id of the associated party.
          required: true
        - name: prescriptionMapIds
          in: query
          type: array
          description: Prescription Map Ids of the resource.
        - name: types
          in: query
          type: array
          description: Types of the resource.
        - name: productCodes
          in: query
          type: array
          description: Product Codes of the resource.
        - name: productNames
          in: query
          type: array
          description: Product Names of the resource.
        - name: sources
          in: query
          type: array
          description: Sources for the resource.
        - 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-prescriptions-prescriptionId
      path: /parties/{partyId}/prescriptions/{prescriptionId}
      operations:
      - name: microsoftazureprescriptionsget
        method: GET
        description: Microsoft Azure Get Parties Partyid Prescriptions Prescriptionid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: partyId
          in: path
          type: string
          description: Id of the associated party.
          required: true
        - name: prescriptionId
          in: path
          type: string
          description: Id of the prescription.
          required: true
        - name: api-version
          in: query
          type: string
          description: The requested API version
          required: true
      - name: microsoftazureprescriptionscreateorupdate
        method: PATCH
        description: Microsoft Azure Patch Parties Partyid Prescriptions Prescriptionid
        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: prescriptionId
          in: path
          type: string
          description: Id of the prescription resource.
          required: true
        - name: api-version
          in: query
          type: string
          description: The requested API version
          required: true
        - name: prescription
          in: body
          type: string
          description: Prescription resource payload to create or update.
          required: true
      - name: microsoftazureprescriptionsdelete
        method: DELETE
        description: Microsoft Azure Delete Parties Partyid Prescriptions Prescriptionid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: partyId
          in: path
          type: string
          description: Id of the party.
          required: true
        - name: prescriptionId
          in: path
          type: string
          description: Id of the prescription.
          required: true
        - name: api-version
          in: query
          type: string
          description: The requested API version
          required: true
    - name: prescriptions
      path: /prescriptions
      operations:
      - name: microsoftazureprescriptionslist
        method: GET
        description: Microsoft Azure Get Prescriptions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: prescriptionMapIds
          in: query
          type: array
          description: Prescription Map Ids of the resource.
        - name: types
          in: query
          type: array
          description: Types of the resource.
        - name: productCodes
          in: query
          type: array
          description: Product Codes of the resource.
        - name: productNames
          in: query
          type: array
          description: Product Names of the resource.
        - name: sources
          in: query
          type: array
          description: Sources for the resource.
        - 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: prescriptions-cascade-delete-jobId
      path: /prescriptions/cascade-delete/{jobId}
      operations:
      - name: microsoftazureprescriptionsgetcascadedeletejobdetails
        method: GET
        description: Microsoft Azure Get Prescriptions Cascade Delete Jobid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: jobId
          in: path
          type: string
          description: Id of the job.
          required: true
        - name: api-version
          in: query
          type: string
          description: The requested API version
          required: true
      - name: microsoftazureprescriptionscreatecascadedeletejob
        method: PUT
        description: Microsoft Azure Put Prescriptions Cascade Delete Jobid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: jobId
          in: path
          type: string
          description: Job ID supplied by end user.
          required: true
        - name: partyId
          in: query
          type: string
          description: ID of the associated party.
          required: true
        - name: prescriptionId
          in: query
          type: string
          description: ID of the prescription to be deleted.
          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-prescriptions-rest
    port: 8080
    description: REST adapter for Microsoft Azure Azure AgFoodPlatform Data Plane Service — Prescriptions. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/parties/{partyid}/prescriptions
      name: parties-partyid-prescriptions
      description: REST surface for parties-partyId-prescriptions.
      operations:
      - method: GET
        name: microsoftazureprescriptionslistbypartyid
        description: Microsoft Azure Get Parties Partyid Prescriptions
        call: azure-agfoodplatform-data-plane-service-prescriptions.microsoftazureprescriptionslistbypartyid
        with:
          partyId: rest.partyId
          prescriptionMapIds: rest.prescriptionMapIds
          types: rest.types
          productCodes: rest.productCodes
          productNames: rest.productNames
          sources: rest.sources
          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}/prescriptions/{prescriptionid}
      name: parties-partyid-prescriptions-prescriptionid
      description: REST surface for parties-partyId-prescriptions-prescriptionId.
      operations:
      - method: GET
        name: microsoftazureprescriptionsget
        description: Microsoft Azure Get Parties Partyid Prescriptions Prescriptionid
        call: azure-agfoodplatform-data-plane-service-prescriptions.microsoftazureprescriptionsget
        with:
          partyId: rest.partyId
          prescriptionId: rest.prescriptionId
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: microsoftazureprescriptionscreateorupdate
        description: Microsoft Azure Patch Parties Partyid Prescriptions Prescriptionid
        call: azure-agfoodplatform-data-plane-service-prescriptions.microsoftazureprescriptionscreateorupdate
        with:
          partyId: rest.partyId
          prescriptionId: rest.prescriptionId
          api-version: rest.api-version
          prescription: rest.prescription
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: microsoftazureprescriptionsdelete
        description: Microsoft Azure Delete Parties Partyid Prescriptions Prescriptionid
        call: azure-agfoodplatform-data-plane-service-prescriptions.microsoftazureprescriptionsdelete
        with:
          partyId: rest.partyId
          prescriptionId: rest.prescriptionId
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/prescriptions
      name: prescriptions
      description: REST surface for prescriptions.
      operations:
      - method: GET
        name: microsoftazureprescriptionslist
        description: Microsoft Azure Get Prescriptions
        call: azure-agfoodplatform-data-plane-service-prescriptions.microsoftazureprescriptionslist
        with:
          prescriptionMapIds: rest.prescriptionMapIds
          types: rest.types
          productCodes: rest.productCodes
          productNames: rest.productNames
          sources: rest.sources
          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/prescriptions/cascade-delete/{jobid}
      name: prescriptions-cascade-delete-jobid
      description: REST surface for prescriptions-cascade-delete-jobId.
      operations:
      - method: GET
        name: microsoftazureprescriptionsgetcascadedeletejobdetails
        description: Microsoft Azure Get Prescriptions Cascade Delete Jobid
        call: azure-agfoodplatform-data-plane-service-prescriptions.microsoftazureprescriptionsgetcascadedeletejobdetails
        with:
          jobId: rest.jobId
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: microsoftazureprescriptionscreatecascadedeletejob
        description: Microsoft Azure Put Prescriptions Cascade Delete Jobid
        call: azure-agfoodplatform-data-plane-service-prescriptions.microsoftazureprescriptionscreatecascadedeletejob
        with:
          jobId: rest.jobId
          partyId: rest.partyId
          prescriptionId: rest.prescriptionId
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-agfoodplatform-data-plane-service-prescriptions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Azure AgFoodPlatform Data Plane Service — Prescriptions. 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 Prescriptions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-agfoodplatform-data-plane-service-prescriptions.microsoftazureprescriptionslistbypartyid
      with:
        partyId: tools.partyId
        prescriptionMapIds: tools.prescriptionMapIds
        types: tools.types
        productCodes: tools.productCodes
        productNames: tools.productNames
        sources: tools.sources
        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 Prescriptions Prescriptionid
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-agfoodplatform-data-plane-service-prescriptions.microsoftazureprescriptionsget
      with:
        partyId: tools.partyId
        prescriptionId: tools.prescriptionId
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-patch-parties-partyid
      description: Microsoft Azure Patch Parties Partyid Prescriptions Prescriptionid
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: azure-agfoodplatform-data-plane-service-prescriptions.microsoftazureprescriptionscreateorupdate
      with:
        partyId: tools.partyId
        prescriptionId: tools.prescriptionId
        api-version: tools.api-version
        prescription: tools.prescription
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-delete-parties-partyid
      description: Microsoft Azure Delete Parties Partyid Prescriptions Prescriptionid
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: azure-agfoodplatform-data-plane-service-prescriptions.microsoftazureprescriptionsdelete
      with:
        partyId: tools.partyId
        prescriptionId: tools.prescriptionId
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-prescriptions
      description: Microsoft Azure Get Prescriptions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-agfoodplatform-data-plane-service-prescriptions.microsoftazureprescriptionslist
      with:
        prescriptionMapIds: tools.prescriptionMapIds
        types: tools.types
        productCodes: tools.productCodes
        productNames: tools.productNames
        sources: tools.sources
        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-prescriptions-cascade
      description: Microsoft Azure Get Prescriptions Cascade Delete Jobid
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-agfoodplatform-data-plane-service-prescriptions.microsoftazureprescriptionsgetcascadedeletejobdetails
      with:
        jobId: tools.jobId
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-put-prescriptions-cascade
      description: Microsoft Azure Put Prescriptions Cascade Delete Jobid
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: azure-agfoodplatform-data-plane-service-prescriptions.microsoftazureprescriptionscreatecascadedeletejob
      with:
        jobId: tools.jobId
        partyId: tools.partyId
        prescriptionId: tools.prescriptionId
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.