naftiko: 1.0.0-alpha2 info: label: FactSet BookBuilder API — Books description: 'FactSet BookBuilder API — Books. 3 operations. Lead operation: Factset Kicks Off Request to Create a Book With Reports of Your Choice. Self-contained Naftiko capability covering one Factset business surface.' tags: - Factset - Books created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FACTSET_API_KEY: FACTSET_API_KEY capability: consumes: - type: http namespace: bookbuilder-books baseUri: https://api.factset.com/book-builder-api description: FactSet BookBuilder API — Books business capability. Self-contained, no shared references. resources: - name: v1-create-book path: /v1/create-book operations: - name: post method: POST description: Factset Kicks Off Request to Create a Book With Reports of Your Choice outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-create-book-from-template path: /v1/create-book-from-template operations: - name: post method: POST description: Factset Kicks Off Request to Create a Book With Template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-download-api-book-aws-book_id path: /v1/download-api-book-aws/{book_id} operations: - name: get method: GET description: Factset Retrieves Book in Pdf Format outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: book_id in: path type: string required: true authentication: type: basic username: '{{env.FACTSET_USER}}' password: '{{env.FACTSET_PASS}}' exposes: - type: rest namespace: bookbuilder-books-rest port: 8080 description: REST adapter for FactSet BookBuilder API — Books. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/create-book name: v1-create-book description: REST surface for v1-create-book. operations: - method: POST name: post description: Factset Kicks Off Request to Create a Book With Reports of Your Choice call: bookbuilder-books.post with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/create-book-from-template name: v1-create-book-from-template description: REST surface for v1-create-book-from-template. operations: - method: POST name: post description: Factset Kicks Off Request to Create a Book With Template call: bookbuilder-books.post with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/download-api-book-aws/{book-id} name: v1-download-api-book-aws-book-id description: REST surface for v1-download-api-book-aws-book_id. operations: - method: GET name: get description: Factset Retrieves Book in Pdf Format call: bookbuilder-books.get with: book_id: rest.book_id outputParameters: - type: object mapping: $. - type: mcp namespace: bookbuilder-books-mcp port: 9090 transport: http description: MCP adapter for FactSet BookBuilder API — Books. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: factset-kicks-off-request-create description: Factset Kicks Off Request to Create a Book With Reports of Your Choice hints: readOnly: false destructive: false idempotent: false call: bookbuilder-books.post with: body: tools.body outputParameters: - type: object mapping: $. - name: factset-kicks-off-request-create-2 description: Factset Kicks Off Request to Create a Book With Template hints: readOnly: false destructive: false idempotent: false call: bookbuilder-books.post with: body: tools.body outputParameters: - type: object mapping: $. - name: factset-retrieves-book-pdf-format description: Factset Retrieves Book in Pdf Format hints: readOnly: true destructive: false idempotent: true call: bookbuilder-books.get with: book_id: tools.book_id outputParameters: - type: object mapping: $.