Interface ToolsOptions
Properties
Optional Readonlyprefix
prefix?: string
What every tool name starts with: memco_ unless given.
Give the prefix a host calls the tools by, when it renames them. Every description and rendered result then names the tools that way, so a model is never pointed at a name it was not offered; pass the same prefix to briefing. A tool's error is the exception: it is reported as the service wrote it, since it may quote what the model sent.
Model providers accept tool names of letters, digits, _ and -, at most
64 characters, so a prefix that cannot form one is refused with a
MemcoConfigError. null is the same as leaving it out.
What Session.tools takes.
Example