Stream AI responses for circuit design assistance via Server-Sent Events. Supports Ask, Agent, and Plan modes.
JWT access token. Get one via POST /auth/login or from the Trace app (Settings → API Token). Tokens expire after 1 hour.
The user's message
Conversation session ID
AI interaction mode
ask, agent, plan Editor context
schematic, pcb Path to the project
Current schematic file content
Current PCB file content
SSE stream of AI responses. Event types: text, tool_call, tool_result, question, plan, status, error, done.
The response is of type string.