Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Sep 23, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

serialx and others added 3 commits September 23, 2025 07:32
This pull request aims to resolve #556
## Background 

Currently, the `RunHooks` lifecycle (`on_tool_start`, `on_tool_end`)
exposes the `Tool` and `ToolContext`, but does not include the actual
arguments passed to the tool call.

resolves #939

## Solution

This implementation is inspired by [PR
#1598](#1598).

* Add a new `tool_arguments` field to `ToolContext` and populate it via
from_agent_context with tool_call.arguments.
* Update `lifecycle_example.py` to demonstrate tool_arguments in hooks
* Unlike the proposal in [PR
#253](#253), this
solution is not expected to introduce breaking changes, making it easier
to adopt.
@pull pull bot locked and limited conversation to collaborators Sep 23, 2025
@pull pull bot added the ⤵️ pull label Sep 23, 2025
@pull pull bot merged commit 5e1db14 into jayeshp19:main Sep 23, 2025
5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants