Skip to main content

display_tool_call

Function
This function is defined in the display module.
Display a tool call

Signature

def display_tool_call(
    agent_name: &str,
    tool_name: &str,
    arguments: &serde_json::Value,
    result: Option<&str>,
) -> ()

Parameters

agent_name
&str
required
No description available.
tool_name
&str
required
No description available.
arguments
&serde_json::Value
required
No description available.
result
Option<&str>
required
No description available.

Returns

Returns
()
The result of the operation.

Uses

  • agent
  • tool
  • args
  • result
  • execute_sync_callbacks
  • read
  • get
  • is_none

Source

View on GitHub

praisonai/src/display.rs at line 444