For AI agents: the complete documentation index is available at /en/llms.txt, the full documentation bundle is available at /en/llms-full.txt, and this page is available as Markdown at /en/reference/sdk/sapi/runtime/functions/ListFormInfo.md.
  • English
  • Function: ListFormInfo()

    function ListFormInfo(str: string[]): string;

    Defined in: sapi/runtime/tools.ts:273

    生成列表表单的正文说明文案:首行添加 [*] 标头,末尾追加“请选择操作:”提示。 若传入空数组则直接返回默认的选择操作提示。

    Parameters

    ParameterTypeDescription
    strstring[]文本说明行数组。

    Returns

    string

    拼接后的表单说明正文字符串。