get_blocks_content
Retrieve full content of multiple blocks in one batch, reducing API calls. Individual failures are returned as error fields without interrupting the whole operation.
Instructions
批量获取多个块的完整内容。
适用场景: - 一次性拉取多个块内容,减少多次调用开销。
注意事项: - 单个块失败不会中断整体,失败项会返回 error 字段。 - 返回的 kramdown 与 get_block_content 一样会做敏感信息打码。
Args: block_ids (List[str]): 块 ID 列表
Returns: List[Dict[str, Any]]: 包含每个块内容的字典列表
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"block_ids": "<block_ids>"
},
"name": "get_blocks_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |