Overview
Usetool(name: Optional[str] = None, version: Optional[int] = None, method_name: Optional[str] = None) to mark a tool operation. Tool spans inherit the current entity path and appear under the nearest agent/workflow/task.
Function usage
Class usage
Parameters
name: tool nameversion: optional integer versionmethod_name: for class decoration, the method to wrap