Skip to main content
Glama

batch_get_bitable_records

Retrieve multiple records (up to 100) from Feishu Bitable multidimensional tables in a single operation using specified record IDs.

Instructions

批量获取多维表格记录(最多100条) 参数: app_token: 多维表格的token table_id: 数据表ID record_ids: 记录ID列表 返回: 记录信息

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_tokenYes
table_idYes
record_idsYes

Implementation Reference

  • The main execution logic for the 'batch_get_bitable_records' tool. It uses the Lark API to batch retrieve records from a Bitable app table given app_token, table_id, and list of record_ids.
    @mcp.tool() @handle_feishu_error def batch_get_bitable_records( app_token: str, table_id: str, record_ids: list[str] ) -> str: """ 批量获取多维表格记录(最多100条) 参数: app_token: 多维表格的token table_id: 数据表ID record_ids: 记录ID列表 返回: 记录信息 """ client = get_client() request = ( BatchGetAppTableRecordRequest.builder() .app_token(app_token) .table_id(table_id) .request_body( lark.BatchGetAppTableRecordRequestBody.builder() .records(record_ids) .build() ) .build() ) response = client.bitable.v1.app_table_record.batch_get(request) return lark.JSON.marshal(response.data, indent=4)
  • Registration call for the bitable_record_tools, which includes the batch_get_bitable_records tool via decorator in the register function.
    register_bitable_record_tools(mcp)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ZYHB/yuppie-mcp-feishu'

If you have feedback or need assistance with the MCP directory API, please join our Discord server