Skip to main content

tool_call

Method
This is a method of the ScriptedModel class in the scripted module.
Script a turn in which the model calls one tool.

Signature

Parameters

str
required
Tool function name.
Optional
Arguments to call it with.

Returns

ScriptedReply
class:ScriptedReply to put in the script.

Uses

  • ScriptedReply
  • ScriptedToolCall

Source

View on GitHub

praisonaiagents/model_harness/scripted.py at line 311

Tools Concept

Create Custom Tools

Tool Development