Run lark-cli command
lark_cli_runRun lark-cli commands by providing arguments, with intent-based safety: read/schema/help run directly, while write/auth_config require confirmation.
Instructions
Run the official lark-cli with argv-style arguments. Use schema/help first. Set intent=write or auth_config for side-effect commands; those require confirm=true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"args": "<args>",
"intent": "<intent>"
},
"name": "lark_cli_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | Arguments after lark-cli, e.g. ["calendar","+agenda","--format","json"]. | |
| intent | Yes | Command risk class. read/schema/help are safe; write/auth_config require confirm=true. | |
| confirm | No | Required for write/auth_config commands after user approval or dry-run review. | |
| timeoutMs | No | ||
| maxOutputBytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| args | Yes | ||
| json | No | ||
| risk | Yes | ||
| stderr | Yes | ||
| stdout | Yes | ||
| command | Yes | ||
| exitCode | Yes | ||
| timedOut | Yes | ||
| nextSteps | Yes | ||
| truncated | Yes |