Lark icon

Lark

Consume Lark API

Actions118

文档 → 创建嵌套文档块

AI-generated

Summary

Creates nested blocks under a specified parent block in a Lark document by sending the supplied request body to the Lark API. Choose the document and parent block, provide the block-creation payload, and optionally set request options such as document revision or an idempotency request ID.

Inputs

  • Authentication (required) — Choose Tenant Access Token or User Access Token credentials.
  • 文档 ID (required) — Select a document or enter its ID. The configured description says the caller needs read permission for the document.
  • 父块 ID (required) — ID of the parent block that will contain the new nested blocks.
  • 请求体 (required) — JSON object containing the request payload for creating the blocks. The default is an empty object; provide the fields required by the Lark API.
  • 选项 — Optional user ID type (defaults to Open ID), document revision ID (defaults to -1 for the latest version), and request ID for idempotency.

Output shape

A single item containing the Lark API response as JSON.

The operation uses the API response returned by its resource handler; the source pack does not include that handler's implementation, so the response fields cannot be specified here.

Links

Discussion