Overview
lark_tools (from veadk.tools.builtin_tools.lark import lark_tools) lets you integrate an AI agent with Feishu / Lark open capabilities for cloud-document processing, chat management, calendar scheduling, and more. It launches a local MCP Server via npx @larksuiteoapi/lark-mcp, so npx and lark-mcp must be installed.
This tool exposes Feishu capabilities as tools the agent can call. If instead you want to route inbound Feishu bot messages into a VeADK
Runner, see the Feishu Channel extension.Environment & prerequisites
Environment variables:MODEL_AGENT_API_KEY: API key for the agent’s reasoning modelTOOL_LARK_ENDPOINT: Lark service Application IDTOOL_LARK_API_KEY: Lark application App Secret (the variable name remains API_KEY)TOOL_LARK_TOKEN: Authorized, unexpired user access token
npm install -g @larksuiteoapi/lark-mcp. Both npx --version and lark-mcp -V must work: importing this tool checks both commands. Enable the required application API scopes and authorize the user. The App Secret and user access token are not interchangeable.
Usage
examples/tools/lark/agent.py
Verify tool discovery
The prebuilt instance reads credentials at import time and configures a local MCP connection. List the available tools first; names and input schemas depend on the installed Lark MCP version. This instance has no cloud-region switch.CLOUD_PROVIDER does not configure platform differences between Feishu and Lark; use custom MCP for custom endpoints or startup arguments.