From 3137d49bd970922255f74561c2938dc7c85830e3 Mon Sep 17 00:00:00 2001 From: Ethan Knights Date: Sun, 3 Aug 2025 20:42:19 +0100 Subject: [PATCH] docs: minor agent tools markdown improvement (#32367) Minor sharpening of agent tool doc. --- docs/docs/concepts/tools.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/concepts/tools.mdx b/docs/docs/concepts/tools.mdx index e3a2db9770a..7879ec2f19d 100644 --- a/docs/docs/concepts/tools.mdx +++ b/docs/docs/concepts/tools.mdx @@ -89,7 +89,7 @@ Please see the [API reference for @tool](https://python.langchain.com/api_refere ## Tool artifacts -**Tools** are utilities that can be called by a model, and whose outputs are designed to be fed back to a model. Sometimes, however, there are artifacts of a tool's execution that we want to make accessible to downstream components in our chain or agent, but that we don't want to expose to the model itself. For example if a tool returns a custom object, a dataframe or an image, we may want to pass some metadata about this output to the model without passing the actual output to the model. At the same time, we may want to be able to access this full output elsewhere, for example in downstream tools. +**Tools** are utilities that can be called by a model, and whose outputs are designed to be fed back to a model. Sometimes, however, there are artifacts of a tool's execution that we want to make accessible to downstream components in our chain or agent, but that we don't want to expose to the model itself. For example if a tool returns a custom object, a dataframe or an image, we may want to pass some metadata about this output to the model without passing the actual output. At the same time, we may want to be able to access this full output elsewhere, for example in downstream tools. ```python @tool(response_format="content_and_artifact")