naftiko: 1.0.0-alpha2 info: label: FiscalNote PolicyNote API — Regulations description: 'FiscalNote PolicyNote API — Regulations. 2 operations. Lead operation: FiscalNote List regulations. Self-contained Naftiko capability covering one Fiscalnote business surface.' tags: - Fiscalnote - Regulations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FISCALNOTE_API_KEY: FISCALNOTE_API_KEY capability: consumes: - type: http namespace: policynote-regulations baseUri: https://api.fiscalnote.com description: FiscalNote PolicyNote API — Regulations business capability. Self-contained, no shared references. resources: - name: policynote-v1-regulations path: /policynote/v1/regulations operations: - name: listregulations method: GET description: FiscalNote List regulations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: policynote-v1-regulations-regulationId path: /policynote/v1/regulations/{regulationId} operations: - name: getregulation method: GET description: FiscalNote Get regulation by ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: regulationId in: path type: string description: The unique identifier of the regulation. required: true authentication: type: apikey key: Authorization value: '{{env.FISCALNOTE_API_KEY}}' placement: header exposes: - type: rest namespace: policynote-regulations-rest port: 8080 description: REST adapter for FiscalNote PolicyNote API — Regulations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/policynote/v1/regulations name: policynote-v1-regulations description: REST surface for policynote-v1-regulations. operations: - method: GET name: listregulations description: FiscalNote List regulations call: policynote-regulations.listregulations outputParameters: - type: object mapping: $. - path: /v1/policynote/v1/regulations/{regulationid} name: policynote-v1-regulations-regulationid description: REST surface for policynote-v1-regulations-regulationId. operations: - method: GET name: getregulation description: FiscalNote Get regulation by ID call: policynote-regulations.getregulation with: regulationId: rest.regulationId outputParameters: - type: object mapping: $. - type: mcp namespace: policynote-regulations-mcp port: 9090 transport: http description: MCP adapter for FiscalNote PolicyNote API — Regulations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: fiscalnote-list-regulations description: FiscalNote List regulations hints: readOnly: true destructive: false idempotent: true call: policynote-regulations.listregulations outputParameters: - type: object mapping: $. - name: fiscalnote-get-regulation-id description: FiscalNote Get regulation by ID hints: readOnly: true destructive: false idempotent: true call: policynote-regulations.getregulation with: regulationId: tools.regulationId outputParameters: - type: object mapping: $.