Skip to content

Commit 2c6d02c

Browse files
authored
agents: add callout around defining tools (#1424)
1 parent 5202504 commit 2c6d02c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/oss/langchain/agents.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,13 @@ For more information, see [Tools](/oss/langchain/tools).
233233
Pass a list of tools to the agent.
234234

235235
:::python
236+
237+
<Tip>
238+
Tools can be specified as plain Python functions or coroutines.
239+
240+
The [tool decorator](/oss/langchain/tools#create-tools) can be used to customize tool names, descriptions, argument schemas, and other properties.
241+
</Tip>
242+
236243
```python wrap
237244
from langchain.tools import tool
238245
from langchain.agents import create_agent

0 commit comments

Comments
 (0)