dat_chat
Execute Ollama-compatible chat requests with optional built-in tools for network, filesystem, and webview access. Supports streaming or non-streaming responses.
Instructions
Ollama-compatible chat endpoint via dat.ai. Supports NDJSON streaming and non-streaming. Can enable built-in tools (net, fs, webview). Note: tools cannot be used with streaming.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model name, e.g. 'qwen3:1.7b' | |
| stream | No | Enable NDJSON streaming. Default: false. | |
| system | No | System prompt. Optional. | |
| options | No | Ollama options (temperature, top_p, top_k, num_predict, num_ctx, stop, seed). Optional. | |
| messages | Yes | Chat messages array. | |
| datai_tools | No | dat.ai built-in tools. Cannot be used with stream=true. |