For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/interfaces/CustomCommandResult.md.

Interface: CustomCommandResult

Beta

从自定义命令回调函数返回的接口。

Interface returned from custom command callback function.

Properties

message?

optional message?: string

Beta

Remarks

命令执行后显示在聊天中的消息。

Message displayed to chat after command execution.


status

status: CustomCommandStatus

Beta

Remarks

命令执行成功或失败。决定状态消息的显示方式。

Command execution Success or Failure. Determines how the status message is displayed.