[GH-ISSUE #7890] Tools in modelfile #67104

Closed
opened 2026-05-04 09:29:07 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Put-to on GitHub (Nov 30, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/7890

It is a hassle to provide tools in the API call every time. When creating a custom model, it should be possible to define all tools in the model file.

Originally created by @Put-to on GitHub (Nov 30, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/7890 It is a hassle to provide tools in the API call every time. When creating a custom model, it should be possible to define all tools in the model file.
GiteaMirror added the feature request label 2026-05-04 09:29:07 -05:00
Author
Owner

@ParthSareen commented on GitHub (Dec 2, 2024):

Hey! I'd say this is more of a model builder choice than one that we would provide support for. We did just roll out tool passing in relatively easily with the Python SDK - would recommend giving that a shot if you're using Python. https://github.com/ollama/ollama-python/blob/main/examples/tools.py

<!-- gh-comment-id:2510816279 --> @ParthSareen commented on GitHub (Dec 2, 2024): Hey! I'd say this is more of a model builder choice than one that we would provide support for. We did just roll out tool passing in relatively easily with the Python SDK - would recommend giving that a shot if you're using Python. https://github.com/ollama/ollama-python/blob/main/examples/tools.py
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#67104