Custom tool events
Your AI agent can emit custom events to the SDK whenever it determines an action needs to be handled. By creating a custom tool, you can give your agent the ability to trigger these events.
Last updated
Your AI agent can emit custom events to the SDK whenever it determines an action needs to be handled. By creating a custom tool, you can give your agent the ability to trigger these events.
Last updated
Chathive.widget.on("tool.custom.event", ({ name, parameters }) => {
console.log("Event name:", name);
console.log("Parameters:", parameters);
});