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