Send a message to the AI assistant. The server uses Anthropic Claude Sonnet 4.5 via the Vercel AI SDK. Tools (tasks, knowledge, events, project context, architecture context, role context) are handled automatically server-side with multi-step tool execution. The response is a plain-text stream of assistant content.
Session cookie authentication
The user message to send
Previous conversation messages
Skill persona block to append to the system prompt. Overrides general guidance when provided.
Deprecated — use skillPersona instead.
Agent persona block to append to the system prompt.
Custom system prompt. When omitted the server uses the default project-aware system prompt.
Additional context files to include in the conversation. Each entry is injected as a user/assistant message pair before the final user message.
Streamed plain-text response. The body is a UTF-8 text stream containing only the assistant's generated content (tool calls and results are processed server-side and not exposed).
Plain-text stream of assistant content