You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider I have agents running on some service that contains the users jwt.
When my agents use tools or MCP servers, I want the agent to act on behalf of the user, meaning that the tools will get the jwt as part of their arguments.
What I don't wan't to do is pass the jwt to the LLM and have it pass it as an argument to the tools.
Is there any way this could be done?
This is very similar to the Context in OpenAI agents where you can add external context to tools without going through the LLM.
An alternative is to create some initialization to the tools before passing them to the agent, but that will require implementation for all tools.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Consider I have agents running on some service that contains the users jwt.
When my agents use tools or MCP servers, I want the agent to act on behalf of the user, meaning that the tools will get the jwt as part of their arguments.
What I don't wan't to do is pass the jwt to the LLM and have it pass it as an argument to the tools.
Is there any way this could be done?
This is very similar to the Context in OpenAI agents where you can add external context to tools without going through the LLM.
An alternative is to create some initialization to the tools before passing them to the agent, but that will require implementation for all tools.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions