naftiko: 1.0.0-alpha2 info: label: Leaf Agriculture Leaf API — API Reference > Field Boundary Management > Growers description: 'Leaf Agriculture Leaf API — API Reference > Field Boundary Management > Growers. 4 operations. Lead operation: Leaf Agriculture Get all growers. Self-contained Naftiko capability covering one Leaf Agriculture business surface.' tags: - Leaf Agriculture - API Reference > Field Boundary Management > Growers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LEAF_AGRICULTURE_API_KEY: LEAF_AGRICULTURE_API_KEY capability: consumes: - type: http namespace: leaf-agriculture-api-reference-field-boundary-management-growers baseUri: '' description: Leaf Agriculture Leaf API — API Reference > Field Boundary Management > Growers business capability. Self-contained, no shared references. resources: - name: services-fields-api-growers path: /services/fields/api/growers operations: - name: get method: GET description: Leaf Agriculture Get all growers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string - name: Authorization in: header type: string - name: services-fields-api-growers-grower_id path: /services/fields/api/growers/{grower_id} operations: - name: get method: GET description: Leaf Agriculture Get a grower outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: grower_id in: path type: string required: true - name: services-fields-api-users-leaf_user_id-growers path: /services/fields/api/users/{leaf_user_id}/growers operations: - name: post method: POST description: Leaf Agriculture Create a grower outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: leaf_user_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: services-fields-api-users-leaf_user_id-growers-grower_id path: /services/fields/api/users/{leaf_user_id}/growers/{grower_id} operations: - name: put method: PUT description: Leaf Agriculture Update a grower outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: leaf_user_id in: path type: string required: true - name: grower_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false exposes: - type: rest namespace: leaf-agriculture-api-reference-field-boundary-management-growers-rest port: 8080 description: REST adapter for Leaf Agriculture Leaf API — API Reference > Field Boundary Management > Growers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/services/fields/api/growers name: services-fields-api-growers description: REST surface for services-fields-api-growers. operations: - method: GET name: get description: Leaf Agriculture Get all growers call: leaf-agriculture-api-reference-field-boundary-management-growers.get with: Content-Type: rest.Content-Type Authorization: rest.Authorization outputParameters: - type: object mapping: $. - path: /v1/services/fields/api/growers/{grower-id} name: services-fields-api-growers-grower-id description: REST surface for services-fields-api-growers-grower_id. operations: - method: GET name: get description: Leaf Agriculture Get a grower call: leaf-agriculture-api-reference-field-boundary-management-growers.get with: Authorization: rest.Authorization grower_id: rest.grower_id outputParameters: - type: object mapping: $. - path: /v1/services/fields/api/users/{leaf-user-id}/growers name: services-fields-api-users-leaf-user-id-growers description: REST surface for services-fields-api-users-leaf_user_id-growers. operations: - method: POST name: post description: Leaf Agriculture Create a grower call: leaf-agriculture-api-reference-field-boundary-management-growers.post with: Authorization: rest.Authorization leaf_user_id: rest.leaf_user_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/services/fields/api/users/{leaf-user-id}/growers/{grower-id} name: services-fields-api-users-leaf-user-id-growers-grower-id description: REST surface for services-fields-api-users-leaf_user_id-growers-grower_id. operations: - method: PUT name: put description: Leaf Agriculture Update a grower call: leaf-agriculture-api-reference-field-boundary-management-growers.put with: Authorization: rest.Authorization leaf_user_id: rest.leaf_user_id grower_id: rest.grower_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: leaf-agriculture-api-reference-field-boundary-management-growers-mcp port: 9090 transport: http description: MCP adapter for Leaf Agriculture Leaf API — API Reference > Field Boundary Management > Growers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: leaf-agriculture-get-all-growers description: Leaf Agriculture Get all growers hints: readOnly: true destructive: false idempotent: true call: leaf-agriculture-api-reference-field-boundary-management-growers.get with: Content-Type: tools.Content-Type Authorization: tools.Authorization outputParameters: - type: object mapping: $. - name: leaf-agriculture-get-grower description: Leaf Agriculture Get a grower hints: readOnly: true destructive: false idempotent: true call: leaf-agriculture-api-reference-field-boundary-management-growers.get with: Authorization: tools.Authorization grower_id: tools.grower_id outputParameters: - type: object mapping: $. - name: leaf-agriculture-create-grower description: Leaf Agriculture Create a grower hints: readOnly: false destructive: false idempotent: false call: leaf-agriculture-api-reference-field-boundary-management-growers.post with: Authorization: tools.Authorization leaf_user_id: tools.leaf_user_id body: tools.body outputParameters: - type: object mapping: $. - name: leaf-agriculture-update-grower description: Leaf Agriculture Update a grower hints: readOnly: false destructive: false idempotent: true call: leaf-agriculture-api-reference-field-boundary-management-growers.put with: Authorization: tools.Authorization leaf_user_id: tools.leaf_user_id grower_id: tools.grower_id body: tools.body outputParameters: - type: object mapping: $.