Replies: 1 comment
-
|
Hmmmmmmm interesting question. I'm not sure off hand |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm adding an
Embedcomponent with custom HTML content. I'm wondering if there's an existing way that the embedded HTML content can call MCP tool? I know there's theCallToolmethod, but that one can only be bind to components likeButton.My HTML contains an access token that is used to fetch data from an authenticated API. When the API returns an auth error due to expired token, I would like to call server tool to get new access token to put in my HTML for future requests. As a simplified example, let's say I have this in my
Embed'shtml:Would there be a way to do that
callServerToolcall, or something similar to it, within theEmbedcomponent?Beta Was this translation helpful? Give feedback.
All reactions