From 65b15a85288ffb4b4133bdd159ad1c9789fdb48d Mon Sep 17 00:00:00 2001 From: Aayush Jain Date: Sat, 25 Apr 2026 02:23:25 +0530 Subject: [PATCH] add changelog --- changelog/4371.added.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog/4371.added.md diff --git a/changelog/4371.added.md b/changelog/4371.added.md new file mode 100644 index 000000000..92c7cc9e1 --- /dev/null +++ b/changelog/4371.added.md @@ -0,0 +1 @@ +- Added `tool_resources` to `PipelineTask` and `FunctionCallParams`. Pass an application-defined object (DB handles, clients, state, etc.) to `PipelineTask(..., tool_resources=...)` and access it from any tool handler via `params.tool_resources`. Passed by reference; the caller retains their handle and can read mutations after the task finishes. Resolves #4256.