Prefect · Capability

Prefect Cloud API — Block documents

Prefect Cloud API — Block documents. 12 operations. Lead operation: Create Block Document. Self-contained Naftiko capability covering one Prefect business surface.

Run with Naftiko PrefectBlock documents

What You Can Do

POST
Createblockdocumentapiaccountsaccountidworkspacesworkspaceidblockdocumentspost — Create Block Document
/v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-documents
PUT
Createorupdateblockdocumentapiaccountsaccountidworkspacesworkspaceidblockdocumentsput — Create Or Update Block Document
/v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-documents
POST
Countblockdocumentsapiaccountsaccountidworkspacesworkspaceidblockdocumentscountpost — Count Block Documents
/v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-documents/count
POST
Readblockdocumentsapiaccountsaccountidworkspacesworkspaceidblockdocumentsfilterpost — Read Block Documents
/v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-documents/filter
POST
Readactorsblockdocumentaccessapiaccountsaccountidworkspacesworkspaceidblockdocumentsmyaccesspost — Read Actors Block Document Access
/v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-documents/my-access
GET
Readblockdocumentbyidapiaccountsaccountidworkspacesworkspaceidblockdocumentsidget — Read Block Document By Id
/v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-documents/{id}
DELETE
Deleteblockdocumentapiaccountsaccountidworkspacesworkspaceidblockdocumentsiddelete — Delete Block Document
/v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-documents/{id}
PATCH
Updateblockdocumentdataapiaccountsaccountidworkspacesworkspaceidblockdocumentsidpatch — Update Block Document Data
/v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-documents/{id}
GET
Readblockdocumentaccessapiaccountsaccountidworkspacesworkspaceidblockdocumentsidaccessget — Read Block Document Access
/v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-documents/{id}/access
PUT
Setblockdocumentaccessapiaccountsaccountidworkspacesworkspaceidblockdocumentsidaccessput — Set Block Document Access
/v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-documents/{id}/access
GET
Readblockdocumentsforblocktypeapiaccountsaccountidworkspacesworkspaceidblocktypesslugslugblockdocumentsget — Read Block Documents For Block Type
/v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-types/slug/{slug}/block-documents
GET
Readblockdocumentbynameforblocktypeapiaccountsaccountidworkspacesworkspaceidblocktypesslugslugblockdocumentsnameblockdocumentnameget — Read Block Document By Name For Block Type
/v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-types/slug/{slug}/block-documents/name/{block-document-name}

MCP Tools

create-block-document

Create Block Document

create-update-block-document

Create Or Update Block Document

idempotent
count-block-documents

Count Block Documents

read-block-documents

Read Block Documents

read-actors-block-document-access

Read Actors Block Document Access

read-block-document-id

Read Block Document By Id

read-only idempotent
delete-block-document

Delete Block Document

idempotent
update-block-document-data

Update Block Document Data

idempotent
read-block-document-access

Read Block Document Access

read-only idempotent
set-block-document-access

Set Block Document Access

idempotent
read-block-documents-block-type

Read Block Documents For Block Type

read-only idempotent
read-block-document-name-block

Read Block Document By Name For Block Type

read-only idempotent

Capability Spec

prefect-block-documents.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Prefect Cloud API — Block documents
  description: 'Prefect Cloud API — Block documents. 12 operations. Lead operation: Create Block Document. Self-contained
    Naftiko capability covering one Prefect business surface.'
  tags:
  - Prefect
  - Block documents
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PREFECT_API_KEY: PREFECT_API_KEY
capability:
  consumes:
  - type: http
    namespace: prefect-block-documents
    baseUri: ''
    description: Prefect Cloud API — Block documents business capability. Self-contained, no shared references.
    resources:
    - name: api-accounts-account_id-workspaces-workspace_id-block_documents
      path: /api/accounts/{account_id}/workspaces/{workspace_id}/block_documents/
      operations:
      - name: createblockdocumentapiaccountsaccountidworkspacesworkspaceidblockdocumentspost
        method: POST
        description: Create Block Document
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace_id
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: x-prefect-api-version
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: createorupdateblockdocumentapiaccountsaccountidworkspacesworkspaceidblockdocumentsput
        method: PUT
        description: Create Or Update Block Document
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace_id
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: x-prefect-api-version
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-accounts-account_id-workspaces-workspace_id-block_documents-count
      path: /api/accounts/{account_id}/workspaces/{workspace_id}/block_documents/count
      operations:
      - name: countblockdocumentsapiaccountsaccountidworkspacesworkspaceidblockdocumentscountpost
        method: POST
        description: Count Block Documents
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: workspace_id
          in: path
          type: string
          required: true
        - name: x-prefect-api-version
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-accounts-account_id-workspaces-workspace_id-block_documents-filter
      path: /api/accounts/{account_id}/workspaces/{workspace_id}/block_documents/filter
      operations:
      - name: readblockdocumentsapiaccountsaccountidworkspacesworkspaceidblockdocumentsfilterpost
        method: POST
        description: Read Block Documents
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace_id
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: x-prefect-api-version
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-accounts-account_id-workspaces-workspace_id-block_documents-my-access
      path: /api/accounts/{account_id}/workspaces/{workspace_id}/block_documents/my-access
      operations:
      - name: readactorsblockdocumentaccessapiaccountsaccountidworkspacesworkspaceidblockdocumentsmyaccesspost
        method: POST
        description: Read Actors Block Document Access
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: workspace_id
          in: path
          type: string
          required: true
        - name: x-prefect-api-version
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-accounts-account_id-workspaces-workspace_id-block_documents-id
      path: /api/accounts/{account_id}/workspaces/{workspace_id}/block_documents/{id}
      operations:
      - name: readblockdocumentbyidapiaccountsaccountidworkspacesworkspaceidblockdocumentsidget
        method: GET
        description: Read Block Document By Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace_id
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          description: The block document id
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: include_secrets
          in: query
          type: boolean
          description: Whether to include sensitive values in the block document.
        - name: x-prefect-api-version
          in: header
          type: string
      - name: deleteblockdocumentapiaccountsaccountidworkspacesworkspaceidblockdocumentsiddelete
        method: DELETE
        description: Delete Block Document
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The block document id
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: workspace_id
          in: path
          type: string
          required: true
        - name: x-prefect-api-version
          in: header
          type: string
      - name: updateblockdocumentdataapiaccountsaccountidworkspacesworkspaceidblockdocumentsidpatch
        method: PATCH
        description: Update Block Document Data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace_id
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          description: The block document id
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: x-prefect-api-version
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-accounts-account_id-workspaces-workspace_id-block_documents-id-access
      path: /api/accounts/{account_id}/workspaces/{workspace_id}/block_documents/{id}/access
      operations:
      - name: readblockdocumentaccessapiaccountsaccountidworkspacesworkspaceidblockdocumentsidaccessget
        method: GET
        description: Read Block Document Access
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The block_document id
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: workspace_id
          in: path
          type: string
          required: true
        - name: x-prefect-api-version
          in: header
          type: string
      - name: setblockdocumentaccessapiaccountsaccountidworkspacesworkspaceidblockdocumentsidaccessput
        method: PUT
        description: Set Block Document Access
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The block_document id
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: workspace_id
          in: path
          type: string
          required: true
        - name: x-prefect-api-version
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-accounts-account_id-workspaces-workspace_id-block_types-slug-slug-block_docu
      path: /api/accounts/{account_id}/workspaces/{workspace_id}/block_types/slug/{slug}/block_documents
      operations:
      - name: readblockdocumentsforblocktypeapiaccountsaccountidworkspacesworkspaceidblocktypesslugslugblockdocumentsget
        method: GET
        description: Read Block Documents For Block Type
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace_id
          in: path
          type: string
          required: true
        - name: slug
          in: path
          type: string
          description: The block type name
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: include_secrets
          in: query
          type: boolean
          description: Whether to include sensitive values in the block document.
        - name: x-prefect-api-version
          in: header
          type: string
    - name: api-accounts-account_id-workspaces-workspace_id-block_types-slug-slug-block_docu
      path: /api/accounts/{account_id}/workspaces/{workspace_id}/block_types/slug/{slug}/block_documents/name/{block_document_name}
      operations:
      - name: readblockdocumentbynameforblocktypeapiaccountsaccountidworkspacesworkspaceidblocktypesslugslugblockdocumentsnameblockdocumentnameget
        method: GET
        description: Read Block Document By Name For Block Type
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace_id
          in: path
          type: string
          required: true
        - name: slug
          in: path
          type: string
          description: The block type name
          required: true
        - name: block_document_name
          in: path
          type: string
          description: The block type name
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: include_secrets
          in: query
          type: boolean
          description: Whether to include sensitive values in the block document.
        - name: x-prefect-api-version
          in: header
          type: string
  exposes:
  - type: rest
    namespace: prefect-block-documents-rest
    port: 8080
    description: REST adapter for Prefect Cloud API — Block documents. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-documents
      name: api-accounts-account-id-workspaces-workspace-id-block-documents
      description: REST surface for api-accounts-account_id-workspaces-workspace_id-block_documents.
      operations:
      - method: POST
        name: createblockdocumentapiaccountsaccountidworkspacesworkspaceidblockdocumentspost
        description: Create Block Document
        call: prefect-block-documents.createblockdocumentapiaccountsaccountidworkspacesworkspaceidblockdocumentspost
        with:
          workspace_id: rest.workspace_id
          account_id: rest.account_id
          x-prefect-api-version: rest.x-prefect-api-version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: createorupdateblockdocumentapiaccountsaccountidworkspacesworkspaceidblockdocumentsput
        description: Create Or Update Block Document
        call: prefect-block-documents.createorupdateblockdocumentapiaccountsaccountidworkspacesworkspaceidblockdocumentsput
        with:
          workspace_id: rest.workspace_id
          account_id: rest.account_id
          x-prefect-api-version: rest.x-prefect-api-version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-documents/count
      name: api-accounts-account-id-workspaces-workspace-id-block-documents-count
      description: REST surface for api-accounts-account_id-workspaces-workspace_id-block_documents-count.
      operations:
      - method: POST
        name: countblockdocumentsapiaccountsaccountidworkspacesworkspaceidblockdocumentscountpost
        description: Count Block Documents
        call: prefect-block-documents.countblockdocumentsapiaccountsaccountidworkspacesworkspaceidblockdocumentscountpost
        with:
          account_id: rest.account_id
          workspace_id: rest.workspace_id
          x-prefect-api-version: rest.x-prefect-api-version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-documents/filter
      name: api-accounts-account-id-workspaces-workspace-id-block-documents-filter
      description: REST surface for api-accounts-account_id-workspaces-workspace_id-block_documents-filter.
      operations:
      - method: POST
        name: readblockdocumentsapiaccountsaccountidworkspacesworkspaceidblockdocumentsfilterpost
        description: Read Block Documents
        call: prefect-block-documents.readblockdocumentsapiaccountsaccountidworkspacesworkspaceidblockdocumentsfilterpost
        with:
          workspace_id: rest.workspace_id
          account_id: rest.account_id
          x-prefect-api-version: rest.x-prefect-api-version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-documents/my-access
      name: api-accounts-account-id-workspaces-workspace-id-block-documents-my-access
      description: REST surface for api-accounts-account_id-workspaces-workspace_id-block_documents-my-access.
      operations:
      - method: POST
        name: readactorsblockdocumentaccessapiaccountsaccountidworkspacesworkspaceidblockdocumentsmyaccesspost
        description: Read Actors Block Document Access
        call: prefect-block-documents.readactorsblockdocumentaccessapiaccountsaccountidworkspacesworkspaceidblockdocumentsmyaccesspost
        with:
          account_id: rest.account_id
          workspace_id: rest.workspace_id
          x-prefect-api-version: rest.x-prefect-api-version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-documents/{id}
      name: api-accounts-account-id-workspaces-workspace-id-block-documents-id
      description: REST surface for api-accounts-account_id-workspaces-workspace_id-block_documents-id.
      operations:
      - method: GET
        name: readblockdocumentbyidapiaccountsaccountidworkspacesworkspaceidblockdocumentsidget
        description: Read Block Document By Id
        call: prefect-block-documents.readblockdocumentbyidapiaccountsaccountidworkspacesworkspaceidblockdocumentsidget
        with:
          workspace_id: rest.workspace_id
          id: rest.id
          account_id: rest.account_id
          include_secrets: rest.include_secrets
          x-prefect-api-version: rest.x-prefect-api-version
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteblockdocumentapiaccountsaccountidworkspacesworkspaceidblockdocumentsiddelete
        description: Delete Block Document
        call: prefect-block-documents.deleteblockdocumentapiaccountsaccountidworkspacesworkspaceidblockdocumentsiddelete
        with:
          id: rest.id
          account_id: rest.account_id
          workspace_id: rest.workspace_id
          x-prefect-api-version: rest.x-prefect-api-version
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateblockdocumentdataapiaccountsaccountidworkspacesworkspaceidblockdocumentsidpatch
        description: Update Block Document Data
        call: prefect-block-documents.updateblockdocumentdataapiaccountsaccountidworkspacesworkspaceidblockdocumentsidpatch
        with:
          workspace_id: rest.workspace_id
          id: rest.id
          account_id: rest.account_id
          x-prefect-api-version: rest.x-prefect-api-version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-documents/{id}/access
      name: api-accounts-account-id-workspaces-workspace-id-block-documents-id-access
      description: REST surface for api-accounts-account_id-workspaces-workspace_id-block_documents-id-access.
      operations:
      - method: GET
        name: readblockdocumentaccessapiaccountsaccountidworkspacesworkspaceidblockdocumentsidaccessget
        description: Read Block Document Access
        call: prefect-block-documents.readblockdocumentaccessapiaccountsaccountidworkspacesworkspaceidblockdocumentsidaccessget
        with:
          id: rest.id
          account_id: rest.account_id
          workspace_id: rest.workspace_id
          x-prefect-api-version: rest.x-prefect-api-version
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setblockdocumentaccessapiaccountsaccountidworkspacesworkspaceidblockdocumentsidaccessput
        description: Set Block Document Access
        call: prefect-block-documents.setblockdocumentaccessapiaccountsaccountidworkspacesworkspaceidblockdocumentsidaccessput
        with:
          id: rest.id
          account_id: rest.account_id
          workspace_id: rest.workspace_id
          x-prefect-api-version: rest.x-prefect-api-version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-types/slug/{slug}/block-documents
      name: api-accounts-account-id-workspaces-workspace-id-block-types-slug-slug-block-docu
      description: REST surface for api-accounts-account_id-workspaces-workspace_id-block_types-slug-slug-block_docu.
      operations:
      - method: GET
        name: readblockdocumentsforblocktypeapiaccountsaccountidworkspacesworkspaceidblocktypesslugslugblockdocumentsget
        description: Read Block Documents For Block Type
        call: prefect-block-documents.readblockdocumentsforblocktypeapiaccountsaccountidworkspacesworkspaceidblocktypesslugslugblockdocumentsget
        with:
          workspace_id: rest.workspace_id
          slug: rest.slug
          account_id: rest.account_id
          include_secrets: rest.include_secrets
          x-prefect-api-version: rest.x-prefect-api-version
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/accounts/{account-id}/workspaces/{workspace-id}/block-types/slug/{slug}/block-documents/name/{block-document-name}
      name: api-accounts-account-id-workspaces-workspace-id-block-types-slug-slug-block-docu
      description: REST surface for api-accounts-account_id-workspaces-workspace_id-block_types-slug-slug-block_docu.
      operations:
      - method: GET
        name: readblockdocumentbynameforblocktypeapiaccountsaccountidworkspacesworkspaceidblocktypesslugslugblockdocumentsnameblockdocumentnameget
        description: Read Block Document By Name For Block Type
        call: prefect-block-documents.readblockdocumentbynameforblocktypeapiaccountsaccountidworkspacesworkspaceidblocktypesslugslugblockdocumentsnameblockdocumentnameget
        with:
          workspace_id: rest.workspace_id
          slug: rest.slug
          block_document_name: rest.block_document_name
          account_id: rest.account_id
          include_secrets: rest.include_secrets
          x-prefect-api-version: rest.x-prefect-api-version
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: prefect-block-documents-mcp
    port: 9090
    transport: http
    description: MCP adapter for Prefect Cloud API — Block documents. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: create-block-document
      description: Create Block Document
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: prefect-block-documents.createblockdocumentapiaccountsaccountidworkspacesworkspaceidblockdocumentspost
      with:
        workspace_id: tools.workspace_id
        account_id: tools.account_id
        x-prefect-api-version: tools.x-prefect-api-version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: create-update-block-document
      description: Create Or Update Block Document
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: prefect-block-documents.createorupdateblockdocumentapiaccountsaccountidworkspacesworkspaceidblockdocumentsput
      with:
        workspace_id: tools.workspace_id
        account_id: tools.account_id
        x-prefect-api-version: tools.x-prefect-api-version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: count-block-documents
      description: Count Block Documents
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: prefect-block-documents.countblockdocumentsapiaccountsaccountidworkspacesworkspaceidblockdocumentscountpost
      with:
        account_id: tools.account_id
        workspace_id: tools.workspace_id
        x-prefect-api-version: tools.x-prefect-api-version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: read-block-documents
      description: Read Block Documents
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: prefect-block-documents.readblockdocumentsapiaccountsaccountidworkspacesworkspaceidblockdocumentsfilterpost
      with:
        workspace_id: tools.workspace_id
        account_id: tools.account_id
        x-prefect-api-version: tools.x-prefect-api-version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: read-actors-block-document-access
      description: Read Actors Block Document Access
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: prefect-block-documents.readactorsblockdocumentaccessapiaccountsaccountidworkspacesworkspaceidblockdocumentsmyaccesspost
      with:
        account_id: tools.account_id
        workspace_id: tools.workspace_id
        x-prefect-api-version: tools.x-prefect-api-version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: read-block-document-id
      description: Read Block Document By Id
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: prefect-block-documents.readblockdocumentbyidapiaccountsaccountidworkspacesworkspaceidblockdocumentsidget
      with:
        workspace_id: tools.workspace_id
        id: tools.id
        account_id: tools.account_id
        include_secrets: tools.include_secrets
        x-prefect-api-version: tools.x-prefect-api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-block-document
      description: Delete Block Document
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: prefect-block-documents.deleteblockdocumentapiaccountsaccountidworkspacesworkspaceidblockdocumentsiddelete
      with:
        id: tools.id
        account_id: tools.account_id
        workspace_id: tools.workspace_id
        x-prefect-api-version: tools.x-prefect-api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: update-block-document-data
      description: Update Block Document Data
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: prefect-block-documents.updateblockdocumentdataapiaccountsaccountidworkspacesworkspaceidblockdocumentsidpatch
      with:
        workspace_id: tools.workspace_id
        id: tools.id
        account_id: tools.account_id
        x-prefect-api-version: tools.x-prefect-api-version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: read-block-document-access
      description: Read Block Document Access
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: prefect-block-documents.readblockdocumentaccessapiaccountsaccountidworkspacesworkspaceidblockdocumentsidaccessget
      with:
        id: tools.id
        account_id: tools.account_id
        workspace_id: tools.workspace_id
        x-prefect-api-version: tools.x-prefect-api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: set-block-document-access
      description: Set Block Document Access
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: prefect-block-documents.setblockdocumentaccessapiaccountsaccountidworkspacesworkspaceidblockdocumentsidaccessput
      with:
        id: tools.id
        account_id: tools.account_id
        workspace_id: tools.workspace_id
        x-prefect-api-version: tools.x-prefect-api-version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: read-block-documents-block-type
      description: Read Block Documents For Block Type
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: prefect-block-documents.readblockdocumentsforblocktypeapiaccountsaccountidworkspacesworkspaceidblocktypesslugslugblockdocumentsget
      with:
        workspace_id: tools.workspace_id
        slug: tools.slug
        account_id: tools.account_id
        include_secrets: tools.include_secrets
        x-prefect-api-version: tools.x-prefect-api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: read-block-document-name-block
      description: Read Block Document By Name For Block Type
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: prefect-block-documents.readblockdocumentbynameforblocktypeapiaccountsaccountidworkspacesworkspaceidblocktypesslugslugblockdocumentsnameblockdocumentnameget
      with:
        workspace_id: tools.workspace_id
        slug: tools.slug
        block_document_name: tools.block_document_name
        account_id: tools.account_id
        include_secrets: tools.include_secrets
        x-prefect-api-version: tools.x-prefect-api-version
      outputParameters:
      - type: object
        mapping: $.