Tool End • Rust AI Agent SDK

tool_end: Emit tool end event.

tool_end

Method

</div>

This is a method of the ContextTraceEmitter class in the trace module.

Emit tool end event.

Diagram

uses

returns

Agent

Tool: tool_end

Result

Signature

python
def tool_end(&mut self, tool_name: &str, result: serde_json::Value, duration_ms: u64) -> ()

Parameters

ParamField &str

No description available.

ParamField serde_json::Value

No description available.

ParamField u64

No description available.

Returns

ResponseField ()

The result of the operation.


Related Documentation