Feature request
Please add first-class support for Base dashboard button blocks in the lark-cli base +dashboard-* commands.
Current behavior
In Feishu/Lark Base web UI, dashboard button components can be added and configured to open links. However, with lark-cli version 1.0.57, creating a dashboard block with --type button fails with an unsupported block type error.
Reproduction shape, with private IDs omitted:
lark-cli base +dashboard-block-create \
--base-token <base_token> \
--dashboard-id <dashboard_id> \
--name "Add source" \
--type button \
--data-config '{"table_name":"Creators","count_all":true}' \
--as user
Observed result:
unsupported block type "button"
After a button is created manually in the Base web UI, +dashboard-get can list the block as block_type=button, and +dashboard-block-get can return a generic block payload, but it does not expose the button label, action, or link target.
Expected behavior
Ideally the CLI would support:
- Creating dashboard
button blocks.
- Updating button display text / label.
- Configuring button action, especially
open_link.
- Reading back the button label/action/link config through
+dashboard-block-get.
A possible CLI data shape could be something like:
{
"label": "Add source",
"action": "open_link",
"url": "https://example.com/form"
}
Why this matters
Dashboard buttons are useful for AI-agent-built Base dashboards where the cockpit needs clear navigation, such as:
- opening a source intake form,
- drilling into a filtered daily view,
- linking to a workflow entry point.
Without button support, agents can only create text blocks with URLs as a fallback, while the actual button component still has to be configured manually in the web UI.
Environment
lark-cli version 1.0.57
- Domain: Base dashboard commands
- Identity: user auth
Thanks for maintaining the CLI and the Base agent skills.
Feature request
Please add first-class support for Base dashboard
buttonblocks in thelark-cli base +dashboard-*commands.Current behavior
In Feishu/Lark Base web UI, dashboard button components can be added and configured to open links. However, with
lark-cli version 1.0.57, creating a dashboard block with--type buttonfails with an unsupported block type error.Reproduction shape, with private IDs omitted:
Observed result:
After a button is created manually in the Base web UI,
+dashboard-getcan list the block asblock_type=button, and+dashboard-block-getcan return a generic block payload, but it does not expose the button label, action, or link target.Expected behavior
Ideally the CLI would support:
buttonblocks.open_link.+dashboard-block-get.A possible CLI data shape could be something like:
{ "label": "Add source", "action": "open_link", "url": "https://example.com/form" }Why this matters
Dashboard buttons are useful for AI-agent-built Base dashboards where the cockpit needs clear navigation, such as:
Without button support, agents can only create text blocks with URLs as a fallback, while the actual button component still has to be configured manually in the web UI.
Environment
lark-cli version 1.0.57Thanks for maintaining the CLI and the Base agent skills.