AGUI206

August 17, 2026 · View on GitHub

Severity: warning · Group: Tool calls · Checked in: core · Since: 0.x

Message: TOOL_CALL_RESULT for toolCallId '{toolCallId}' arrived while the call is still open

Spec grounding

This event is sent after the tool has been executed by the system and contains the actual output generated by the tool.

Source: https://docs.ag-ui.com/concepts/events#toolcallresult

Example

A violating stream from the corpus (spec/fixtures/invalid/AGUI206-result-before-end):

{"type":"RUN_STARTED","threadId":"thread_001","runId":"run_001","timestamp":1755300015100}
{"type":"TOOL_CALL_START","toolCallId":"call_001","toolCallName":"get_weather","timestamp":1755300015200}
{"type":"TOOL_CALL_RESULT","messageId":"msg_001","toolCallId":"call_001","content":"early","timestamp":1755300015300}
{"type":"TOOL_CALL_END","toolCallId":"call_001","timestamp":1755300015400}
{"type":"RUN_FINISHED","threadId":"thread_001","runId":"run_001","outcome":{"type":"success"},"timestamp":1755300015500}

Expected findings:

  • warning AGUI206 at event 2 — TOOL_CALL_RESULT for toolCallId 'call_001' arrived while the call is still open