Total Tools: 2
# List all ollama tools
dmtools list | jq '.tools[] | select(.name | startswith("ollama_"))'
# Example usage
dmtools ollama_ai_chat [arguments]// Direct function calls for ollama tools
const result = ollama_ai_chat(...);
const result = ollama_ai_chat_with_files(...);| Tool Name | Description | Parameters |
|---|---|---|
ollama_ai_chat |
Send a text message to Ollama AI and get response | message (string, required) |
ollama_ai_chat_with_files |
Send a text message to Ollama AI with file attachments. Supports images and other file types for analysis and questions. | message (string, required)filePaths (array, required) |
Send a text message to Ollama AI and get response
Parameters:
message(string) 馃敶 Required- Text message to send to AI
Example:
dmtools ollama_ai_chat "value"// In JavaScript agent
const result = ollama_ai_chat("message");Send a text message to Ollama AI with file attachments. Supports images and other file types for analysis and questions.
Parameters:
-
message(string) 馃敶 Required- Text message to send to Ollama AI
- Example:
What is in this image? Please analyze the document content.
-
filePaths(array) 馃敶 Required- Array of file paths to attach to the message
- Example:
['/path/to/image.png', '/path/to/document.pdf']
Example:
dmtools ollama_ai_chat_with_files "value" "value"// In JavaScript agent
const result = ollama_ai_chat_with_files("message", "filePaths");