Skip to content

Commit abd791a

Browse files
committed
rename ParseToolResponse to DecodeToolResponse
1 parent 57870c5 commit abd791a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/mcp/mcp_request.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func DoToolRequest(ctx context.Context, client api.Client, tool *ToolDef, vars m
5050
return client.Do(req)
5151
}
5252

53-
func ParseToolResponse(resp *http.Response) (map[string]json.RawMessage, error) {
53+
func DecodeToolResponse(resp *http.Response) (map[string]json.RawMessage, error) {
5454
data, err := readSSEResponseData(resp)
5555
if err != nil {
5656
return nil, err

0 commit comments

Comments
 (0)