Docusign · Capability

DocuSign Rooms API - v2 — FormLibraries

DocuSign Rooms API - v2 — FormLibraries. 2 operations. Lead operation: Docusign Gets form libraries.. Self-contained Naftiko capability covering one Docusign business surface.

Run with Naftiko DocusignFormLibraries

What You Can Do

GET
Formlibrariesgetformlibraries — Docusign Gets form libraries.
/v1/v2/accounts/{accountid}/form-libraries
GET
Formlibrariesgetformlibraryforms — Docusign Gets the forms in a form library.
/v1/v2/accounts/{accountid}/form-libraries/{formlibraryid}/forms

MCP Tools

docusign-gets-form-libraries

Docusign Gets form libraries.

read-only idempotent
docusign-gets-forms-form-library

Docusign Gets the forms in a form library.

read-only idempotent

Capability Spec

rooms-formlibraries.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: DocuSign Rooms API - v2 — FormLibraries
  description: 'DocuSign Rooms API - v2 — FormLibraries. 2 operations. Lead operation: Docusign Gets form libraries.. Self-contained
    Naftiko capability covering one Docusign business surface.'
  tags:
  - Docusign
  - FormLibraries
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DOCUSIGN_API_KEY: DOCUSIGN_API_KEY
capability:
  consumes:
  - type: http
    namespace: rooms-formlibraries
    baseUri: https://rooms.docusign.com/restapi
    description: DocuSign Rooms API - v2 — FormLibraries business capability. Self-contained, no shared references.
    resources:
    - name: v2-accounts-accountId-form_libraries
      path: /v2/accounts/{accountId}/form_libraries
      operations:
      - name: formlibrariesgetformlibraries
        method: GET
        description: Docusign Gets form libraries.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: count
          in: query
          type: integer
          description: The number of results to return. This value must be a number between `1` and `100` (default).
        - name: startPosition
          in: query
          type: integer
          description: The starting zero-based index position of the results set. The default value is `0`.
        - name: accountId
          in: path
          type: string
          description: The globally unique identifier (GUID) for the account.
          required: true
    - name: v2-accounts-accountId-form_libraries-formLibraryId-forms
      path: /v2/accounts/{accountId}/form_libraries/{formLibraryId}/forms
      operations:
      - name: formlibrariesgetformlibraryforms
        method: GET
        description: Docusign Gets the forms in a form library.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: formLibraryId
          in: path
          type: string
          description: The ID of the form library.
          required: true
        - name: count
          in: query
          type: integer
          description: The number of results to return. This value must be a number between `1` and `100` (default).
        - name: startPosition
          in: query
          type: integer
          description: (Optional) The starting zero-based index position of the results set. The default value is `0`.
        - name: accountId
          in: path
          type: string
          description: The globally unique identifier (GUID) for the account.
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.DOCUSIGN_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: rooms-formlibraries-rest
    port: 8080
    description: REST adapter for DocuSign Rooms API - v2 — FormLibraries. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v2/accounts/{accountid}/form-libraries
      name: v2-accounts-accountid-form-libraries
      description: REST surface for v2-accounts-accountId-form_libraries.
      operations:
      - method: GET
        name: formlibrariesgetformlibraries
        description: Docusign Gets form libraries.
        call: rooms-formlibraries.formlibrariesgetformlibraries
        with:
          count: rest.count
          startPosition: rest.startPosition
          accountId: rest.accountId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/accounts/{accountid}/form-libraries/{formlibraryid}/forms
      name: v2-accounts-accountid-form-libraries-formlibraryid-forms
      description: REST surface for v2-accounts-accountId-form_libraries-formLibraryId-forms.
      operations:
      - method: GET
        name: formlibrariesgetformlibraryforms
        description: Docusign Gets the forms in a form library.
        call: rooms-formlibraries.formlibrariesgetformlibraryforms
        with:
          formLibraryId: rest.formLibraryId
          count: rest.count
          startPosition: rest.startPosition
          accountId: rest.accountId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rooms-formlibraries-mcp
    port: 9090
    transport: http
    description: MCP adapter for DocuSign Rooms API - v2 — FormLibraries. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: docusign-gets-form-libraries
      description: Docusign Gets form libraries.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rooms-formlibraries.formlibrariesgetformlibraries
      with:
        count: tools.count
        startPosition: tools.startPosition
        accountId: tools.accountId
      outputParameters:
      - type: object
        mapping: $.
    - name: docusign-gets-forms-form-library
      description: Docusign Gets the forms in a form library.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rooms-formlibraries.formlibrariesgetformlibraryforms
      with:
        formLibraryId: tools.formLibraryId
        count: tools.count
        startPosition: tools.startPosition
        accountId: tools.accountId
      outputParameters:
      - type: object
        mapping: $.