Microsoft Azure · Capability

Microsoft Azure Data Manager for Agriculture Data Plane Service — Farms

Microsoft Azure Data Manager for Agriculture Data Plane Service — Farms. 7 operations. Lead operation: Microsoft Azure Get Farms. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureFarms

What You Can Do

GET
Microsoftazurefarmslist — Microsoft Azure Get Farms
/v1/farms
PUT
Microsoftazurefarmscreatecascadedeletejob — Microsoft Azure Put Farms Cascade Delete Jobid
/v1/farms/cascade-delete/{jobid}
GET
Microsoftazurefarmsgetcascadedeletejobdetails — Microsoft Azure Get Farms Cascade Delete Jobid
/v1/farms/cascade-delete/{jobid}
GET
Microsoftazurefarmslistbypartyid — Microsoft Azure Get Parties Partyid Farms
/v1/parties/{partyid}/farms
GET
Microsoftazurefarmsget — Microsoft Azure Get Parties Partyid Farms Farmid
/v1/parties/{partyid}/farms/{farmid}
PATCH
Microsoftazurefarmscreateorupdate — Microsoft Azure Patch Parties Partyid Farms Farmid
/v1/parties/{partyid}/farms/{farmid}
DELETE
Microsoftazurefarmsdelete — Microsoft Azure Delete Parties Partyid Farms Farmid
/v1/parties/{partyid}/farms/{farmid}

MCP Tools

microsoft-azure-get-farms

Microsoft Azure Get Farms

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

Microsoft Azure Put Farms Cascade Delete Jobid

idempotent
microsoft-azure-get-farms-cascade

Microsoft Azure Get Farms Cascade Delete Jobid

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

Microsoft Azure Get Parties Partyid Farms

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

Microsoft Azure Get Parties Partyid Farms Farmid

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

Microsoft Azure Patch Parties Partyid Farms Farmid

idempotent
microsoft-azure-delete-parties-partyid

Microsoft Azure Delete Parties Partyid Farms Farmid

idempotent

Capability Spec

data-manager-for-agriculture-data-plane-service-farms.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure Data Manager for Agriculture Data Plane Service — Farms
  description: 'Microsoft Azure Data Manager for Agriculture Data Plane Service — Farms. 7 operations. Lead operation: Microsoft
    Azure Get Farms. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - Farms
  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: data-manager-for-agriculture-data-plane-service-farms
    baseUri: ''
    description: Microsoft Azure Data Manager for Agriculture Data Plane Service — Farms business capability. Self-contained,
      no shared references.
    resources:
    - name: farms
      path: /farms
      operations:
      - name: microsoftazurefarmslist
        method: GET
        description: Microsoft Azure Get Farms
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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: farms-cascade-delete-jobId
      path: /farms/cascade-delete/{jobId}
      operations:
      - name: microsoftazurefarmscreatecascadedeletejob
        method: PUT
        description: Microsoft Azure Put Farms 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: farmId
          in: query
          type: string
          description: ID of the farm to be deleted.
          required: true
        - name: api-version
          in: query
          type: string
          description: The requested API version
          required: true
      - name: microsoftazurefarmsgetcascadedeletejobdetails
        method: GET
        description: Microsoft Azure Get Farms 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: parties-partyId-farms
      path: /parties/{partyId}/farms
      operations:
      - name: microsoftazurefarmslistbypartyid
        method: GET
        description: Microsoft Azure Get Parties Partyid Farms
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: partyId
          in: path
          type: string
          description: Id of the associated party.
          required: true
        - 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-farms-farmId
      path: /parties/{partyId}/farms/{farmId}
      operations:
      - name: microsoftazurefarmsget
        method: GET
        description: Microsoft Azure Get Parties Partyid Farms Farmid
        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: farmId
          in: path
          type: string
          description: ID of the farm resource.
          required: true
        - name: api-version
          in: query
          type: string
          description: The requested API version
          required: true
      - name: microsoftazurefarmscreateorupdate
        method: PATCH
        description: Microsoft Azure Patch Parties Partyid Farms Farmid
        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: farmId
          in: path
          type: string
          description: Id of the farm resource.
          required: true
        - name: api-version
          in: query
          type: string
          description: The requested API version
          required: true
        - name: farm
          in: body
          type: string
          description: Farm resource payload to create or update.
          required: true
      - name: microsoftazurefarmsdelete
        method: DELETE
        description: Microsoft Azure Delete Parties Partyid Farms Farmid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: partyId
          in: path
          type: string
          description: Id of the party.
          required: true
        - name: farmId
          in: path
          type: string
          description: Id of the farm.
          required: true
        - name: api-version
          in: query
          type: string
          description: The requested API version
          required: true
  exposes:
  - type: rest
    namespace: data-manager-for-agriculture-data-plane-service-farms-rest
    port: 8080
    description: REST adapter for Microsoft Azure Data Manager for Agriculture Data Plane Service — Farms. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/farms
      name: farms
      description: REST surface for farms.
      operations:
      - method: GET
        name: microsoftazurefarmslist
        description: Microsoft Azure Get Farms
        call: data-manager-for-agriculture-data-plane-service-farms.microsoftazurefarmslist
        with:
          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/farms/cascade-delete/{jobid}
      name: farms-cascade-delete-jobid
      description: REST surface for farms-cascade-delete-jobId.
      operations:
      - method: PUT
        name: microsoftazurefarmscreatecascadedeletejob
        description: Microsoft Azure Put Farms Cascade Delete Jobid
        call: data-manager-for-agriculture-data-plane-service-farms.microsoftazurefarmscreatecascadedeletejob
        with:
          jobId: rest.jobId
          partyId: rest.partyId
          farmId: rest.farmId
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: microsoftazurefarmsgetcascadedeletejobdetails
        description: Microsoft Azure Get Farms Cascade Delete Jobid
        call: data-manager-for-agriculture-data-plane-service-farms.microsoftazurefarmsgetcascadedeletejobdetails
        with:
          jobId: rest.jobId
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/parties/{partyid}/farms
      name: parties-partyid-farms
      description: REST surface for parties-partyId-farms.
      operations:
      - method: GET
        name: microsoftazurefarmslistbypartyid
        description: Microsoft Azure Get Parties Partyid Farms
        call: data-manager-for-agriculture-data-plane-service-farms.microsoftazurefarmslistbypartyid
        with:
          partyId: rest.partyId
          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}/farms/{farmid}
      name: parties-partyid-farms-farmid
      description: REST surface for parties-partyId-farms-farmId.
      operations:
      - method: GET
        name: microsoftazurefarmsget
        description: Microsoft Azure Get Parties Partyid Farms Farmid
        call: data-manager-for-agriculture-data-plane-service-farms.microsoftazurefarmsget
        with:
          partyId: rest.partyId
          farmId: rest.farmId
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: microsoftazurefarmscreateorupdate
        description: Microsoft Azure Patch Parties Partyid Farms Farmid
        call: data-manager-for-agriculture-data-plane-service-farms.microsoftazurefarmscreateorupdate
        with:
          partyId: rest.partyId
          farmId: rest.farmId
          api-version: rest.api-version
          farm: rest.farm
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: microsoftazurefarmsdelete
        description: Microsoft Azure Delete Parties Partyid Farms Farmid
        call: data-manager-for-agriculture-data-plane-service-farms.microsoftazurefarmsdelete
        with:
          partyId: rest.partyId
          farmId: rest.farmId
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: data-manager-for-agriculture-data-plane-service-farms-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Data Manager for Agriculture Data Plane Service — Farms. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-get-farms
      description: Microsoft Azure Get Farms
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: data-manager-for-agriculture-data-plane-service-farms.microsoftazurefarmslist
      with:
        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-put-farms-cascade
      description: Microsoft Azure Put Farms Cascade Delete Jobid
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: data-manager-for-agriculture-data-plane-service-farms.microsoftazurefarmscreatecascadedeletejob
      with:
        jobId: tools.jobId
        partyId: tools.partyId
        farmId: tools.farmId
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-farms-cascade
      description: Microsoft Azure Get Farms Cascade Delete Jobid
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: data-manager-for-agriculture-data-plane-service-farms.microsoftazurefarmsgetcascadedeletejobdetails
      with:
        jobId: tools.jobId
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-parties-partyid
      description: Microsoft Azure Get Parties Partyid Farms
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: data-manager-for-agriculture-data-plane-service-farms.microsoftazurefarmslistbypartyid
      with:
        partyId: tools.partyId
        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 Farms Farmid
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: data-manager-for-agriculture-data-plane-service-farms.microsoftazurefarmsget
      with:
        partyId: tools.partyId
        farmId: tools.farmId
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-patch-parties-partyid
      description: Microsoft Azure Patch Parties Partyid Farms Farmid
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: data-manager-for-agriculture-data-plane-service-farms.microsoftazurefarmscreateorupdate
      with:
        partyId: tools.partyId
        farmId: tools.farmId
        api-version: tools.api-version
        farm: tools.farm
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-delete-parties-partyid
      description: Microsoft Azure Delete Parties Partyid Farms Farmid
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: data-manager-for-agriculture-data-plane-service-farms.microsoftazurefarmsdelete
      with:
        partyId: tools.partyId
        farmId: tools.farmId
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.