With Tool • Rust AI Agent SDK
with_tool: Set tool info
with_tool
Method
</div>
This is a method of the HookInput class in the hooks module.
Set tool info
Signature
def with_tool(mut self, name: impl Into<String>, args: serde_json::Value) -> SelfParameters
ParamField
impl Into<String>No description available.
ParamField
serde_json::ValueNo description available.
Returns
ResponseField
SelfThe result of the operation.