ai_chat
Send a message to a configured AI model and receive its response in a single turn. Returns error diagnostics if credentials are missing.
Instructions
Send a single message to the configured AI (Claude/OpenAI/Ollama/Bedrock) and return its response. Non-streaming, single-turn. On missing credentials, returns a tool error containing the same diagnostic the CLI would print. Mirrors omni-dev ai chat in one-shot form.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | User message to send to the AI. | |
| model | No | Optional model identifier (e.g., `claude-sonnet-4-6`). | |
| system_prompt | No | Optional system prompt; defaults to `"You are a helpful assistant."`. |