Skip to main content

Variable: BUILT_IN_TOOL_NAMES

const BUILT_IN_TOOL_NAMES: object

Defined in: contracts/types.ts:229

Names of the gateway's built-in tools, as the model and the thread see them.

A host that renders tool calls or reads the stored tool results tells the built-ins apart by these names.

ASK_USER_QUESTION when humanGate.userQuestions is enabled, REMEMBER_USER_FACT / FORGET_USER_FACT when the user memory is, LOAD_SKILL in a run() whose profile or call has skills.

Type Declaration​

ASK_USER_QUESTION​

readonly ASK_USER_QUESTION: "dyna_aigw_ask_user_question" = "dyna_aigw_ask_user_question"

The model asks the user; its call pauses the run with a USER_QUESTION.

FORGET_USER_FACT​

readonly FORGET_USER_FACT: "dyna_aigw_forget_user_fact" = "dyna_aigw_forget_user_fact"

The model removes a stored fact the user asked to forget.

LOAD_SKILL​

readonly LOAD_SKILL: "dyna_aigw_load_skill" = "dyna_aigw_load_skill"

The model loads the instructions of one skill.

REMEMBER_USER_FACT​

readonly REMEMBER_USER_FACT: "dyna_aigw_remember_user_fact" = "dyna_aigw_remember_user_fact"

The model stores a lasting fact the user stated about themselves.

Example​

BUILT_IN_TOOL_NAMES.ASK_USER_QUESTION - the tool part of a user question in the thread