Converts to a JSON object for the Ollama API tools array.
A JSONValue with "name", "description", and optionally "parameters".
See Implementation
Converts to a JSON object for the Ollama API tools array.