MCPcopy Create free account

hub / github.com/larksuite/openclaw-lark / functions

Functions1,118 in github.com/larksuite/openclaw-lark

↓ 4 callersFunctionpickId
* Trim a possibly-null identifier and treat the empty string as missing. * * The event schema marks open_id / user_id / union_id as nullable and we
src/messaging/inbound/vc-sender.ts:44
↓ 4 callersFunctionprepareTerminalCardContent
( content: TerminalCardContentInput, imageResolver: TerminalCardTextImageResolver, tableLimit: number =
src/card/streaming-card-controller.ts:1163
↓ 4 callersFunctionprobeFeishu
(credentials?: LarkClientCredentials)
src/channel/probe.ts:16
↓ 4 callersMethodrecordChatMembers
(chatId: string, members: ChatMember[])
src/messaging/inbound/user-name-cache-store.ts:145
↓ 4 callersFunctionresetMentionRegistry
()
src/messaging/inbound/mention-registry.ts:105
↓ 4 callersFunctionresolveFeishuGroupConfig
(params: { cfg?: FeishuConfig; groupId?: string | null; })
src/messaging/inbound/policy.ts:74
↓ 4 callersFunctionrunFeishuDoctor
( config: OpenClawConfig, currentAccountId?: string, locale: DoctorLocale = 'zh_cn', )
src/commands/doctor.ts:668
↓ 4 callersFunctionsendCardFeishu
(params: SendFeishuCardParams)
src/messaging/outbound/send.ts:269
↓ 4 callersFunctionsendMediaLark
(params: SendMediaLarkParams)
src/messaging/outbound/deliver.ts:424
↓ 4 callersFunctionsendMediaMessage
* Unified media message sender — handles both reply and create paths for * image / file / audio `msg_type` values. * * Mirrors {@link sendImMessage
src/messaging/outbound/media.ts:433
↓ 4 callersFunctionsetLarkRuntime
(nextRuntime: PluginRuntime)
src/core/runtime-store.ts:19
↓ 4 callersFunctionsplitReasoningText
(text?: string)
src/card/builder.ts:80
↓ 4 callersFunctiontokenStatus
(token: StoredUAToken)
src/core/token-store.ts:364
↓ 4 callersMethodtryRecord
* Try to record a message ID. * * @param id Unique message identifier (e.g. Feishu `message_id`). * @param scope Optional scope prefix (e.g
src/messaging/inbound/dedup.ts:77
↓ 4 callersMethodwaitForFlush
Wait for any in-progress flush to finish.
src/card/flush-controller.ts:42
↓ 4 callersFunctionwithTicket
(ticket: LarkTicket, fn: () => T | Promise<T>)
src/core/lark-ticket.ts:43
↓ 4 callersMethodwriteEntryNoEvict
(openId: string, name: string, kind: PrincipalKind | undefined)
src/messaging/inbound/user-name-cache-store.ts:203
↓ 3 callersMethodabortCard
()
src/card/streaming-card-controller.ts:770
↓ 3 callersFunctionaccountKey
(appId: string, userOpenId: string)
src/core/token-store.ts:66
↓ 3 callersFunctionaddToDeferredUserAuth
* 将用户授权 scope 添加到延迟队列。 * 多个工具调用的 scope 会被合并到同一个 entry。
src/tools/auto-auth.ts:426
↓ 3 callersFunctionassertOwnerAccessStrict
( account: ConfiguredLarkAccount, sdk: Lark.Client, userOpenId: string, )
src/core/owner-policy.ts:50
↓ 3 callersFunctionbatchResolveUserNamesAsUser
(params: { client: ToolClient; openIds: string[]; log: (...args: unknown[]) => void; })
src/tools/oapi/im/user-name-uat.ts:84
↓ 3 callersFunctionbuildConvertContextFromItem
( item: ApiMessageItem, fallbackMessageId: string, accountId?: string, )
src/messaging/converters/content-converter-helpers.ts:30
↓ 3 callersFunctionbuildFeishuCommentTarget
(params: { deliveryMode?: CommentDeliveryMode; fileType: CommentFileType; fileToken: string; commentId
src/core/comment-target.ts:54
↓ 3 callersFunctionbuildToolUseTitleSuffix
(params: { stepCount: number })
src/card/tool-use-display.ts:191
↓ 3 callersMethodclear
()
src/messaging/inbound/sentinel-store.ts:74
↓ 3 callersMethodclear
()
src/messaging/inbound/user-name-cache-store.ts:188
↓ 3 callersMethodclear
Remove all entries and stop the periodic sweep.
src/messaging/inbound/dedup.ts:110
↓ 3 callersFunctionclearAllSentinelStores
()
src/messaging/inbound/sentinel-store.ts:111
↓ 3 callersFunctioncoerceCode
(value: unknown)
src/core/api-error.ts:44
↓ 3 callersMethodconvertDatePicker
(prop: Obj, _id: string, pickerType: string)
src/messaging/converters/interactive/card-converter.ts:750
↓ 3 callersFunctionconvertMessageContent
( raw: string, messageType: string, ctx: ConvertContext, )
src/messaging/converters/content-converter.ts:33
↓ 3 callersMethodelapsed
()
src/card/streaming-card-controller.ts:130
↓ 3 callersFunctionenqueueAuthRequest
* 将授权请求入队到防抖缓冲区。 * * 同一 bufferKey 的请求会被合并: * - collecting 阶段:scope 集合取并集,共享同一个 flushFn 执行结果 * - executing 阶段:flushFn 已在运行,后续请求直接复用已有结果(不重复发卡片) *
src/tools/auto-auth.ts:132
↓ 3 callersFunctionescapeRegExp
(s: string)
src/messaging/inbound/enrich.ts:233
↓ 3 callersFunctionextractMentionOpenId
(id: unknown)
src/messaging/converters/content-converter-helpers.ts:14
↓ 3 callersFunctionextractPermissionError
(err: unknown)
src/messaging/inbound/permission.ts:28
↓ 3 callersFunctionextractScalarText
(value: unknown)
src/card/tool-use-display.ts:341
↓ 3 callersFunctionfindMarkdownTablesOutsideCodeBlocks
(text: string)
src/card/card-error.ts:153
↓ 3 callersMethodflush
* Execute a flush (mutex-guarded, with reflush on conflict). * * If a flush is already in progress, marks needsReflush so a * follow-up flush
src/card/flush-controller.ts:53
↓ 3 callersFunctionfooterElements
Extract footer markdown elements (notation-sized) from the card's top-level elements array.
tests/builder-footer-runtime.test.ts:100
↓ 3 callersFunctionformatAuthResult
* Format an AuthResult into a locale-specific message string.
src/commands/auth.ts:85
↓ 3 callersFunctionformatCalendarContent
(parsed: CalendarBody | undefined)
src/messaging/converters/calendar.ts:20
↓ 3 callersFunctionformatPermissionError
* Given a Feishu error code and msg, format a user-friendly permission * error string if the code is LARK_ERROR.APP_SCOPE_MISSING (99991672). Return
src/core/api-error.ts:31
↓ 3 callersFunctiongetFeishuHelp
(locale: FeishuLocale = 'zh_cn')
src/commands/index.ts:143
↓ 3 callersMethodgetFooterSessionMetrics
()
src/card/streaming-card-controller.ts:139
↓ 3 callersFunctiongetUATUserName
(accountId: string, openId: string)
src/tools/oapi/im/user-name-uat.ts:52
↓ 3 callersFunctionhandleMessageEvent
(ctx: MonitorContext, data: unknown)
src/channel/event-handlers.ts:71
↓ 3 callersFunctionhandleVcMeetingInvitedEvent
(ctx: MonitorContext, data: unknown)
src/channel/event-handlers.ts:271
↓ 3 callersFunctionisLikelyAbortText
(text: string)
src/channel/abort-detect.ts:99
↓ 3 callersFunctionisMentionAll
(mention: { key: string })
src/messaging/inbound/mention.ts:28
↓ 3 callersFunctionisMessageExpired
(createTimeStr: string | undefined, expiryMs: number = DEFAULT_EXPIRY_MS)
src/messaging/inbound/dedup.ts:44
↓ 3 callersFunctionisMessageUnavailableError
(error: unknown)
src/core/message-unavailable.ts:116
↓ 3 callersFunctionisSensitiveName
(value: string)
src/card/reasoning-utils.ts:63
↓ 3 callersFunctionisThreadCapableGroup
(params: { cfg: ClawdbotConfig; chatId: string; accountId?: string; })
src/core/chat-info-cache.ts:139
↓ 3 callersFunctionlinuxSafeFileName
Convert account key to a filesystem-safe filename.
src/core/token-store.ts:135
↓ 3 callersFunctionlistFeishuDirectoryGroups
(params: { cfg: ClawdbotConfig; query?: string; limit?: number; accountId?: string; })
src/channel/directory.ts:85
↓ 3 callersFunctionlistFeishuDirectoryPeers
(params: { cfg: ClawdbotConfig; query?: string; limit?: number; accountId?: string; })
src/channel/directory.ts:45
↓ 3 callersFunctionmakeBotEvent
(senderOpenId: string, messageId = 'om_test')
tests/handler-self-filter.test.ts:28
↓ 3 callersFunctionmakeCtx
(overrides: Partial<MessageContext> = {})
tests/bot-at-bot-identity.test.ts:15
↓ 3 callersFunctionmissingScopes
(appGranted: string[], apiRequired: string[])
src/core/app-scope-checker.ts:227
↓ 3 callersMethodneedsFooterMetrics
()
src/card/streaming-card-controller.ts:134
↓ 3 callersFunctionnormalizeEventTimeFields
(event: Record<string, any> | undefined)
src/tools/oapi/calendar/event.ts:468
↓ 3 callersFunctionnormalizeName
(name: string)
src/messaging/inbound/mention-registry.ts:35
↓ 3 callersFunctionnormalizeToolUseMode
(value: unknown)
src/card/tool-use-config.ts:93
↓ 3 callersFunctionparseFeishuCommentTarget
(target: string)
src/core/comment-target.ts:89
↓ 3 callersFunctionprefetchChatMembers
( account: LarkAccount, chatId: string, log: (...args: unknown[]) => void, )
src/messaging/inbound/user-name-cache.ts:327
↓ 3 callersMethodprobe
* Probe bot identity via the `bot/v1/openclaw_bot/ping` API. * Results are cached on the instance for subsequent access via * `botOpenId` / `bot
src/core/lark-client.ts:274
↓ 3 callersFunctionrawLarkRequest
(options: RawLarkRequestOptions)
src/core/raw-request.ts:72
↓ 3 callersFunctionrecordFeishuSendSentinels
( resolvedAccountId: string | undefined, to: string, threadId: string | undefined, sentinels: Sentinel
src/messaging/outbound/send.ts:68
↓ 3 callersFunctionregisterMcpTool
( api: OpenClawPluginApi, config: McpToolConfig<T>, )
src/tools/mcp/shared.ts:228
↓ 3 callersMethodremove
(service: string, account: string)
src/core/token-store.ts:83
↓ 3 callersFunctionresolveAgentEntry
(cfg: ClawdbotConfig, agentId: string)
src/core/agent-config.ts:64
↓ 3 callersFunctionresolveBaseNameFromPath
(value: string)
src/messaging/outbound/media-url-utils.ts:113
↓ 3 callersFunctionresolveFeishuSendContext
* Map adapter-level parameters to internal send context. * * Mirrors the pattern used by Telegram (`resolveTelegramSendContext`) and * Slack (`send
src/messaging/outbound/outbound.ts:154
↓ 3 callersMethodresolveImages
(text: string)
src/card/streaming-card-controller.ts:71
↓ 3 callersFunctionresolveOAuthEndpoints
(brand: LarkBrand)
src/core/device-flow.ts:56
↓ 3 callersFunctionresolveRange
* Resolve the target range for read/write/append operations. * * Priority: explicit range > sheet_id param / URL sheet > first sheet via API. * Thr
src/tools/oapi/sheets/sheet.ts:181
↓ 3 callersFunctionrunFeishuStart
(config: OpenClawConfig, locale: FeishuLocale = 'zh_cn')
src/commands/index.ts:98
↓ 3 callersFunctionsendCardLark
(params: SendCardLarkParams)
src/messaging/outbound/deliver.ts:350
↓ 3 callersFunctionsendCommentReplyLark
(params: SendCommentReplyLarkParams)
src/messaging/outbound/deliver.ts:498
↓ 3 callersFunctionsendPairingReply
(params: { senderId: string; chatId: string; accountId: string; accountScopedCfg?: ClawdbotConfig; })
src/messaging/inbound/gate-effects.ts:26
↓ 3 callersMethodsetInflight
(key: string, promise: Promise<void>)
src/messaging/inbound/user-name-cache-store.ts:180
↓ 3 callersFunctionstreamToBuffer
* Consume a Readable stream into a Buffer.
src/messaging/outbound/media.ts:252
↓ 3 callersFunctionstripQuotes
(value: string)
src/card/tool-use-display.ts:575
↓ 3 callersFunctionstripReasoningTags
(text: string)
src/card/builder.ts:134
↓ 3 callersFunctionwin32SafeFileName
Convert account key to a filesystem-safe filename (whitelist approach).
src/core/token-store.ts:241
↓ 2 callersMethod_invokeInternal
* 内部 invoke 实现,只支持 ToolActionKey(严格类型检查)
src/core/tool-client.ts:182
↓ 2 callersFunctionapplyLimitSlice
Filter items and apply optional limit.
src/channel/directory.ts:31
↓ 2 callersFunctionapplyOutboundMentions
* Apply the outbound mention safety net for the current send: * - rewrite LLM-emitted @-shapes into Feishu's standard <at> element * - when the di
src/messaging/outbound/outbound.ts:33
↓ 2 callersFunctionarmTtlTimer
Arm (or re-arm) the TTL expiry timer for a pending question.
src/tools/ask-user-question.ts:107
↓ 2 callersFunctionbaseConfig
Strip the `accounts` key and return the remaining top-level config.
src/core/accounts.ts:38
↓ 2 callersFunctionbatchResolveUserNames
(params: { account: LarkAccount; openIds: string[]; log: (...args: unknown[]) => void; })
src/messaging/inbound/user-name-cache.ts:41
↓ 2 callersFunctionbotLoopStateSize
()
src/messaging/inbound/bot-loop-guard.ts:106
↓ 2 callersFunctionbuildAppScopeMissingCard
* 构建应用权限引导卡片。 * * 橙色 header,列出缺失的 scope,提供权限管理链接和"已完成"按钮。
src/tools/auto-auth.ts:458
↓ 2 callersFunctionbuildAskUserCard
* Build the full interactive ask-user card. * * All elements are wrapped in a single `form` container. * Submit button uses `form_action_type: "sub
src/tools/ask-user-question.ts:682
↓ 2 callersFunctionbuildAuthFailedCard
(_reason: string)
src/tools/oauth-cards.ts:322
↓ 2 callersFunctionbuildCodeBlockWithTables
(count: number)
tests/card-review-followup.test.ts:71
↓ 2 callersFunctionbuildDisplayBlock
( value: unknown, fallbackLanguage: 'json' | 'text' = 'json', )
src/card/tool-use-display.ts:416
↓ 2 callersFunctionbuildInboundPayload
( dc: DispatchContext, opts: { body: string; bodyForAgent: string; rawBody: string; comman
src/messaging/inbound/dispatch-builders.ts:157
← previousnext →201–300 of 1,118, ranked by callers