Skip to main content
Glama

copy_bitable_app

Duplicate Feishu Bitable applications by specifying an app token and new name to create identical copies in your workspace for backup or template use.

Instructions

    复制多维表格应用

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

    返回:
        JSON格式的应用信息
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_tokenYes
nameYes
folder_tokenNo

Implementation Reference

  • The handler function `copy_bitable_app` that implements the tool logic to copy a Feishu Bitable app using the Lark_oapi client. Includes type annotations, docstring schema, and full execution code.
    @mcp.tool()
    @handle_feishu_error
    def copy_bitable_app(app_token: str, name: str, folder_token: str = "") -> str:
        """
        复制多维表格应用
    
        参数:
            app_token: 要复制的多维表格token
            name: 新多维表格的名称
            folder_token: (可选) 文件夹token,指定创建位置
    
        返回:
            JSON格式的应用信息
        """
        client = get_client()
        request = (
            CopyAppRequest.builder()
            .app_token(app_token)
            .request_body(
                CopyAppRequestBody.builder()
                .name(name)
                .folder_token(folder_token)
                .build()
            )
            .build()
        )
        response = client.bitable.v1.app.copy(request)
        return lark.JSON.marshal(response.data, indent=4)
  • Top-level registration call to register_bitable_app_tools during MCP server initialization, which defines and registers the copy_bitable_app tool.
    register_bitable_app_tools(mcp)
  • Module-level registration function that defines and registers both create_bitable_app and copy_bitable_app tools 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