Skip to main content

Advanced Tool Features

ModelFusion offers some additional functions for using tools:

  • Execute Tool: a function that executes a tool with the provided arguments.
  • Generate Tool Call: a function that generates a tool call for a specific tool from a prompt.
  • Generate Tool Calls: a function that generates a set of tool calls and text from a prompt. This is useful for chat agents that need to decide whether to run tools or to generate text.