An assistant hands part of its work to another AI function or program.
Asked inside a conversation's turn, the program answers in a conversation
of its own (<conversation>.<name>, in the same store), which follows the
branch of the turn that asked: asked again later on that branch, it
remembers what it was asked before; on another branch, it does not. Its
calls are in the asking turn's call tree, under the tool call. Outside a
conversation, or with remember = FALSE, it is called plainly.
Arguments
- program
An AI function or a program.
- description
What it does, for the model.
- name
The tool's name (default: the program's).
- remember
Whether it keeps its own conversation (see above).
- effects
"reads"or"changes"; default:"reads"for an AI function whose tools all read, else unknown (counts as changes).