naftiko: 1.0.0-alpha2 info: label: Trimble Agriculture Data API — Organizations description: 'Trimble Agriculture Data API — Organizations. 2 operations. Lead operation: List Organizations. Self-contained Naftiko capability covering one Trimble Agriculture business surface.' tags: - Trimble Agriculture - Organizations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TRIMBLE_AGRICULTURE_API_KEY: TRIMBLE_AGRICULTURE_API_KEY capability: consumes: - type: http namespace: trimble-agriculture-organizations baseUri: https://cloud.api.trimble.com/Trimble-Ag-Software/externalApi/3.0 description: Trimble Agriculture Data API — Organizations business capability. Self-contained, no shared references. resources: - name: organizations path: /organizations operations: - name: listorganizations method: GET description: List Organizations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: organizations-organizationId path: /organizations/{organizationId} operations: - name: getorganizationbyid method: GET description: Get Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organizationId in: path type: string description: Organization unique identifier required: true authentication: type: bearer token: '{{env.TRIMBLE_AGRICULTURE_API_KEY}}' exposes: - type: rest namespace: trimble-agriculture-organizations-rest port: 8080 description: REST adapter for Trimble Agriculture Data API — Organizations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations name: organizations description: REST surface for organizations. operations: - method: GET name: listorganizations description: List Organizations call: trimble-agriculture-organizations.listorganizations outputParameters: - type: object mapping: $. - path: /v1/organizations/{organizationid} name: organizations-organizationid description: REST surface for organizations-organizationId. operations: - method: GET name: getorganizationbyid description: Get Organization call: trimble-agriculture-organizations.getorganizationbyid with: organizationId: rest.organizationId outputParameters: - type: object mapping: $. - type: mcp namespace: trimble-agriculture-organizations-mcp port: 9090 transport: http description: MCP adapter for Trimble Agriculture Data API — Organizations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-organizations description: List Organizations hints: readOnly: true destructive: false idempotent: true call: trimble-agriculture-organizations.listorganizations outputParameters: - type: object mapping: $. - name: get-organization description: Get Organization hints: readOnly: true destructive: false idempotent: true call: trimble-agriculture-organizations.getorganizationbyid with: organizationId: tools.organizationId outputParameters: - type: object mapping: $.