Skip to main content

with_tool

Method
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) -> Self

Parameters

name
impl Into<String>
required
No description available.
args
serde_json::Value
required
No description available.

Returns

Returns
Self
The result of the operation.