Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/user-guide/concepts/tools/tools_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ Every tool added to an agent also becomes a method accessible directly on the ag
result = agent.tool.file_read(path="/path/to/file.txt", mode="view")
```

If a tool name contains hyphens, you can invoke the tool using underscores instead:

```python
# Directly invoke a tool named "read-all"
result = agent.tool.read_all(path="/path/to/file.txt")
```

## Building & Loading Tools

### 1. Python Tools
Expand Down
3 changes: 1 addition & 2 deletions docs/user-guide/safety-security/guardrails.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,4 @@ Ollama doesn't currently provide native guardrail capabilities like Bedrock. Ins
## Additional Resources

* [Amazon Bedrock Guardrails Documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html)
* [Allen Institute for AI: Guardrails Project](https://www.guardrailsai.com/docs)
* [LangChain's LCEL Guard Integration](https://llm-guard.com/tutorials/notebooks/langchain/)
* [Allen Institute for AI: Guardrails Project](https://www.guardrailsai.com/docs)