Tool Invocation Starts Event

Can we emit an event when a tool invocation starts, currently getting event only after the tool execution is completed?

Currently, the Agents framework emits function_tools_executed after all function tools have completed execution. There is no built-in tool_invocation_started event emitted before a tool begins running, as confirmed in the Events and error handling reference.

If you need a “tool started” signal, the recommended approach is to emit your own custom event or update agent state inside the tool handler itself before executing the main logic.

1 Like