Display Tool Call • Rust AI Agent SDK

display_tool_call: Display a tool call

display_tool_call

Function

</div>

This function is defined in the display module.

Display a tool call

Diagram

uses

returns

Agent

Tool: display_tool_call

Result

Signature

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

Parameters

ParamField &str

No description available.

ParamField &str

No description available.

ParamField &serde_json::Value

No description available.

ParamField Option&lt;&str&gt;

No description available.

Returns

ResponseField ()

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


Related Documentation