Skip to main content
Glama

create_bitable_app

Create a Feishu Bitable application to organize data in multidimensional tables. Specify a name and optional folder location to generate an app with unique token for structured data management.

Instructions

    创建多维表格应用

    参数:
        name: 多维表格名称
        folder_token: (可选) 文件夹token,指定创建位置

    返回:
        JSON格式的应用信息,包含app_token等
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
folder_tokenNo

Implementation Reference

  • The core handler function for the 'create_bitable_app' tool. It uses the Lark API to create a Bitable app with the given name and optional folder token, returning the JSON response.
    @mcp.tool()
    @handle_feishu_error
    def create_bitable_app(name: str, folder_token: str = "") -> str:
        """
        创建多维表格应用
    
        参数:
            name: 多维表格名称
            folder_token: (可选) 文件夹token,指定创建位置
    
        返回:
            JSON格式的应用信息,包含app_token等
        """
        client = get_client()
        request = (
            CreateAppRequest.builder()
            .request_body(
                lark.App.builder().name(name).folder_token(folder_token).build()
            )
            .build()
        )
        response = client.bitable.v1.app.create(request)
        return lark.JSON.marshal(response.data, indent=4)
  • Registers the Bitable app tools, including 'create_bitable_app', by calling the registration function on the MCP server instance.
    register_bitable_app_tools(mcp)
  • The registration function that defines and registers the 'create_bitable_app' tool (and copy) using @mcp.tool() decorators.
    def register_bitable_app_tools(mcp: FastMCP):
        """注册多维表格应用工具"""

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