-
in my tool handler, i need to get the request's header, how to get it? |
Beta Was this translation helpful? Give feedback.
Answered by
Liudon
Jun 11, 2025
Replies: 2 comments
-
The client will bring a special header when making a request. Is there a way to get this header in the tool handler? |
Beta Was this translation helpful? Give feedback.
0 replies
-
i found the resolution,refer to this example
you can custom context,pass header to context.Value. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Liudon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i found the resolution,refer to this example
you can custom context,pass header to context.Value.