diff --git a/docs/user-guide/concepts/tools/tools_overview.md b/docs/user-guide/concepts/tools/tools_overview.md index 66f4f711..a1b2e572 100644 --- a/docs/user-guide/concepts/tools/tools_overview.md +++ b/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 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 diff --git a/docs/user-guide/safety-security/guardrails.md b/docs/user-guide/safety-security/guardrails.md index e217d7c7..5d7f6946 100644 --- a/docs/user-guide/safety-security/guardrails.md +++ b/docs/user-guide/safety-security/guardrails.md @@ -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/) \ No newline at end of file +* [Allen Institute for AI: Guardrails Project](https://www.guardrailsai.com/docs) \ No newline at end of file