naftiko: 1.0.0-alpha2 info: label: Leaf Agriculture Leaf API — API Reference > Providers Auth > ClimateFieldView Auth description: 'Leaf Agriculture Leaf API — API Reference > Providers Auth > ClimateFieldView Auth. 2 operations. Lead operation: Leaf Agriculture 2. Get CFV Tokens. Self-contained Naftiko capability covering one Leaf Agriculture business surface.' tags: - Leaf Agriculture - API Reference > Providers Auth > ClimateFieldView Auth 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-providers-auth-climatefieldview-auth baseUri: '' description: Leaf Agriculture Leaf API — API Reference > Providers Auth > ClimateFieldView Auth business capability. Self-contained, no shared references. resources: - name: api-oauth-token path: /api/oauth/token operations: - name: post method: POST description: Leaf Agriculture 2. Get CFV Tokens outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string description: Basic base64(clientId:clientSecret) - name: body in: body type: object description: Request body (JSON). required: false - name: url path: /url operations: - name: post method: POST description: Leaf Agriculture 1. Get CFV auth URL outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false exposes: - type: rest namespace: leaf-agriculture-api-reference-providers-auth-climatefieldview-auth-rest port: 8080 description: REST adapter for Leaf Agriculture Leaf API — API Reference > Providers Auth > ClimateFieldView Auth. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/oauth/token name: api-oauth-token description: REST surface for api-oauth-token. operations: - method: POST name: post description: Leaf Agriculture 2. Get CFV Tokens call: leaf-agriculture-api-reference-providers-auth-climatefieldview-auth.post with: Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - path: /v1/url name: url description: REST surface for url. operations: - method: POST name: post description: Leaf Agriculture 1. Get CFV auth URL call: leaf-agriculture-api-reference-providers-auth-climatefieldview-auth.post with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: leaf-agriculture-api-reference-providers-auth-climatefieldview-auth-mcp port: 9090 transport: http description: MCP adapter for Leaf Agriculture Leaf API — API Reference > Providers Auth > ClimateFieldView Auth. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: leaf-agriculture-2-get-cfv description: Leaf Agriculture 2. Get CFV Tokens hints: readOnly: true destructive: false idempotent: false call: leaf-agriculture-api-reference-providers-auth-climatefieldview-auth.post with: Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $. - name: leaf-agriculture-1-get-cfv description: Leaf Agriculture 1. Get CFV auth URL hints: readOnly: true destructive: false idempotent: false call: leaf-agriculture-api-reference-providers-auth-climatefieldview-auth.post with: body: tools.body outputParameters: - type: object mapping: $.