We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12bb51a commit 7dc219aCopy full SHA for 7dc219a
docs/user-guide/concepts/tools/tools_overview.md
@@ -76,6 +76,13 @@ Every tool added to an agent also becomes a method accessible directly on the ag
76
result = agent.tool.file_read(path="/path/to/file.txt", mode="view")
77
```
78
79
+If a tool name contains hyphens, you can invoke the tool using underscores instead:
80
+
81
+```python
82
+# Directly invoke a tool named "read-all"
83
+result = agent.tool.read_all(path="/path/to/file.txt")
84
+```
85
86
## Building & Loading Tools
87
88
### 1. Python Tools
0 commit comments