forked from Mirror/ollama4j
		
	Clarify Tool Functions section in agent documentation by removing redundant text in YAML registration instructions for Java classes.
This commit is contained in:
		@@ -49,7 +49,7 @@ YAML makes it effortless to configure and tweak your agent’s powers and behavi
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Implement Tool Functions
 | 
					## Implement Tool Functions
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Your agent calls out to Java classes (Tool Functions). Put these implementations on your classpath, register them in YAML, and your agent.
 | 
					Your agent calls out to Java classes (Tool Functions). Put these implementations on your classpath, register them in YAML.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<CodeEmbed src="https://raw.githubusercontent.com/ollama4j/ollama4j-examples/refs/heads/main/src/main/java/io/github/ollama4j/examples/tools/toolfunctions/CalculatorToolFunction.java"/>
 | 
					<CodeEmbed src="https://raw.githubusercontent.com/ollama4j/ollama4j-examples/refs/heads/main/src/main/java/io/github/ollama4j/examples/tools/toolfunctions/CalculatorToolFunction.java"/>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user