-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
** Please make sure you read the contribution guide and file the issues in the right place. **
Contribution guide.
**Is your feature request related to a problem?
Currently, agents cannot reliably pass consistent parameters like authentication tokens, base URLs, or other configuration values to tools across multiple invocations. This creates several issues:
- Agents must be prompted to pass the parameters to the mcp tool calling that requires url and tokens
- There's no mechanism to enforce required parameters that should remain constant throughout an agent session
- Security concerns arise from repeatedly passing sensitive values like tokens through the agent's prompt
Describe the solution you'd like
Provide fixed tool parameters as a dictionary when initiating the Toolset.
Describe alternatives you've considered
Using before callback to modify the arguments before the tool calls to add the fixed arguments.
Additional context
Refer to the support done in Strands Agents https://strandsagents.com/latest/documentation/docs/user-guide/concepts/agents/hooks/#fixed-tool-arguments.