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.