identity:
  name: wecom_group_bot
  author: Bowen Liang
  label:
    en_US: Send Group Message
    zh_Hans: 发送群消息
    pt_BR: Send Group Message
  icon: icon.svg
description:
  human:
    en_US: Sending a group message on Wecom via the webhook of group bot
    zh_Hans: 通过企业微信的群机器人webhook发送群消息
    pt_BR: Sending a group message on Wecom via the webhook of group bot
  llm: A tool for sending messages to a chat group on Wecom(企业微信) .
parameters:
  - name: hook_key
    type: secret-input
    required: true
    label:
      en_US: Wecom Group bot webhook key
      zh_Hans: 群机器人webhook的key
      pt_BR: Wecom Group bot webhook key
    human_description:
      en_US: Wecom Group bot webhook key
      zh_Hans: 群机器人webhook的key
      pt_BR: Wecom Group bot webhook key
    form: form
  - name: content
    type: string
    required: true
    label:
      en_US: content
      zh_Hans: 消息内容
      pt_BR: content
    human_description:
      en_US: Content to sent to the group.
      zh_Hans: 群消息文本
      pt_BR: Content to sent to the group.
    llm_description: Content of the message
    form: llm
  - name: message_type
    type: select
    default: text
    required: true
    label:
      en_US: Wecom Group bot message type
      zh_Hans: 群机器人webhook的消息类型
      pt_BR: Wecom Group bot message type
    human_description:
      en_US: Wecom Group bot message type
      zh_Hans: 群机器人webhook的消息类型
      pt_BR: Wecom Group bot message type
    options:
      - value: text
        label:
          en_US: Text
          zh_Hans: 文本
          pt_BR: Text
      - value: markdown
        label:
          en_US: Markdown
          zh_Hans: Markdown
          pt_BR: Markdown
    form: form
