curl -sS http://localhost:11434/api/chat -H 'Content-Type: application/json' -d '{
"model": "qwen3:0.6b",
"stream": false,
"think": false,
"options": {"num_ctx": 2048, "num_predict": 128},
"messages": [
{"role": "user", "content": "Call the pwd tool to get the current directory."}
],
"tools": [
{"type": "function", "function": {
"name": "pwd",
"description": "Get the current working directory",
"parameters": {"type": "object", "properties": {}}
}}
]
}'