naftiko: 1.0.0-alpha2 info: label: Leaf Agriculture Leaf API — API Reference > Field Boundary Management > Files description: 'Leaf Agriculture Leaf API — API Reference > Field Boundary Management > Files. 2 operations. Lead operation: Leaf Agriculture Get all operations of a field. Self-contained Naftiko capability covering one Leaf Agriculture business surface.' tags: - Leaf Agriculture - API Reference > Field Boundary Management > Files 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-files baseUri: '' description: Leaf Agriculture Leaf API — API Reference > Field Boundary Management > Files business capability. Self-contained, no shared references. resources: - name: services-fields-api-users-leaf_user_id-fields-field_id-operations path: /services/fields/api/users/{leaf_user_id}/fields/{field_id}/operations operations: - name: get method: GET description: Leaf Agriculture Get all operations of a field 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: field_id in: path type: string required: true - name: services-fields-api-users-leaf_user_id-fields-field_id-operations-file_id path: /services/fields/api/users/{leaf_user_id}/fields/{field_id}/operations/{file_id} operations: - name: get method: GET description: Leaf Agriculture Get an operation of a field 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: field_id in: path type: string required: true - name: file_id in: path type: string required: true exposes: - type: rest namespace: leaf-agriculture-api-reference-field-boundary-management-files-rest port: 8080 description: REST adapter for Leaf Agriculture Leaf API — API Reference > Field Boundary Management > Files. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/services/fields/api/users/{leaf-user-id}/fields/{field-id}/operations name: services-fields-api-users-leaf-user-id-fields-field-id-operations description: REST surface for services-fields-api-users-leaf_user_id-fields-field_id-operations. operations: - method: GET name: get description: Leaf Agriculture Get all operations of a field call: leaf-agriculture-api-reference-field-boundary-management-files.get with: Authorization: rest.Authorization leaf_user_id: rest.leaf_user_id field_id: rest.field_id outputParameters: - type: object mapping: $. - path: /v1/services/fields/api/users/{leaf-user-id}/fields/{field-id}/operations/{file-id} name: services-fields-api-users-leaf-user-id-fields-field-id-operations-file-id description: REST surface for services-fields-api-users-leaf_user_id-fields-field_id-operations-file_id. operations: - method: GET name: get description: Leaf Agriculture Get an operation of a field call: leaf-agriculture-api-reference-field-boundary-management-files.get with: Authorization: rest.Authorization leaf_user_id: rest.leaf_user_id field_id: rest.field_id file_id: rest.file_id outputParameters: - type: object mapping: $. - type: mcp namespace: leaf-agriculture-api-reference-field-boundary-management-files-mcp port: 9090 transport: http description: MCP adapter for Leaf Agriculture Leaf API — API Reference > Field Boundary Management > Files. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: leaf-agriculture-get-all-operations description: Leaf Agriculture Get all operations of a field hints: readOnly: true destructive: false idempotent: true call: leaf-agriculture-api-reference-field-boundary-management-files.get with: Authorization: tools.Authorization leaf_user_id: tools.leaf_user_id field_id: tools.field_id outputParameters: - type: object mapping: $. - name: leaf-agriculture-get-operation-field description: Leaf Agriculture Get an operation of a field hints: readOnly: true destructive: false idempotent: true call: leaf-agriculture-api-reference-field-boundary-management-files.get with: Authorization: tools.Authorization leaf_user_id: tools.leaf_user_id field_id: tools.field_id file_id: tools.file_id outputParameters: - type: object mapping: $.