collectToolNamesResponses extracts tool names from a Responses API request.
(rawJSON []byte)
| 137 | |
| 138 | // collectToolNamesResponses extracts tool names from a Responses API request. |
| 139 | func collectToolNamesResponses(rawJSON []byte) []string { |
| 140 | return collectToolNamesFromPath(rawJSON, "name") |
| 141 | } |
| 142 | |
| 143 | // collectToolNamesFromPath extracts tool names using the given gjson path within each tool. |
| 144 | func collectToolNamesFromPath(rawJSON []byte, namePath string) []string { |
no test coverage detected