跳转到内容

buildToolGuideSegment

function buildToolGuideSegment(custom): IRSystemSegment | null;

custom 工具 guide 聚合段(「Tool usage guide」;无任何 guide 返回 null, 空 text 段对部分 provider 非法,与 skills 索引段跳过语义一致)。guide 文本来自开发者(与 system 选项同权,非终端不受信输入),不做转义。

readonly Tool<unknown>[]

IRSystemSegment | null