Skip to content

Commit e0ad467

Browse files
committed
Chore: fix comment in CallToolRequest struct
1 parent 29d9dee commit e0ad467

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mcp/tools.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ type CallToolResult struct {
4747
// CallToolRequest is used by the client to invoke a tool provided by the server.
4848
type CallToolRequest struct {
4949
Request
50-
// Header must be read from request
51-
// Prevent Header being passed as request payload
52-
Header http.Header `json:"-"`
50+
Header http.Header `json:"-"` // HTTP headers from the original request
5351
Params CallToolParams `json:"params"`
5452
}
5553

0 commit comments

Comments
 (0)