---
source_file: "ai/tool_call.go"
type: "code"
community: "Token response testgo"
location: "L112"
tags:
  - graphify/code
  - graphify/EXTRACTED
  - community/Token_response_testgo
---

# DetectToolCallsInStream()

## Connections
- [[.GenerateStream()_3]] - `calls` [INFERRED]
- [[.GenerateStream()_4]] - `calls` [INFERRED]
- [[Context_6]] - `references` [EXTRACTED]
- [[DebugSink_6]] - `references` [EXTRACTED]
- [[TestDetectToolCallsInStream()]] - `calls` [INFERRED]
- [[Token_5]] - `references` [EXTRACTED]
- [[isWS()]] - `calls` [EXTRACTED]
- [[joinTokenData()]] - `calls` [EXTRACTED]
- [[parseToolCall()]] - `calls` [EXTRACTED]
- [[tool_call.go]] - `contains` [EXTRACTED]

#graphify/code #graphify/EXTRACTED #community/Token_response_testgo