Enhance on_tool_start
Hook to Include Tool Call Arguments
#252
Labels
enhancement
New feature or request
on_tool_start
Hook to Include Tool Call Arguments
#252
Please read this first
Describe the feature
Currently, the
on_tool_start
hook in the Agents SDK only provides access to the Agent, Tool (definition), and context, but does not include the actual tool call arguments.This limitation makes it difficult to trace and debug the agent's lifecycle, as there's no way to inspect the exact parameters passed to the tool before execution.
Proposed Enhancement:
Modify the
on_tool_start
hook definition to include the tool call arguments, providing full visibility into the tool invocation process.Why This Improvement Matters:
The text was updated successfully, but these errors were encountered: