naftiko: 1.0.0-alpha2 info: label: Free Law Project / CourtListener REST API — Citations description: 'Free Law Project / CourtListener REST API — Citations. 1 operations. Lead operation: Lookup citations in text. Self-contained Naftiko capability covering one Free Law Project business surface.' tags: - Free Law Project - Citations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FREE_LAW_PROJECT_API_KEY: FREE_LAW_PROJECT_API_KEY capability: consumes: - type: http namespace: free-law-project-citations baseUri: https://www.courtlistener.com/api/rest/v4 description: Free Law Project / CourtListener REST API — Citations business capability. Self-contained, no shared references. resources: - name: citation-lookup path: /citation-lookup/ operations: - name: lookupcitations method: POST description: Lookup citations in text outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: apikey key: Authorization value: '{{env.FREE_LAW_PROJECT_API_KEY}}' placement: header exposes: - type: rest namespace: free-law-project-citations-rest port: 8080 description: REST adapter for Free Law Project / CourtListener REST API — Citations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/citation-lookup name: citation-lookup description: REST surface for citation-lookup. operations: - method: POST name: lookupcitations description: Lookup citations in text call: free-law-project-citations.lookupcitations with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: free-law-project-citations-mcp port: 9090 transport: http description: MCP adapter for Free Law Project / CourtListener REST API — Citations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: lookup-citations-text description: Lookup citations in text hints: readOnly: true destructive: false idempotent: false call: free-law-project-citations.lookupcitations with: body: tools.body outputParameters: - type: object mapping: $.