Skip to content

[FEATURE] use_aws read-only flag #252

@KyMidd

Description

@KyMidd

Problem Statement

There is already a is_mutative check for API calls here: https://github.com/strands-agents/tools/blob/main/src/strands_tools/use_aws.py#L312

I'd like to be able to use the use_aws tool in a bot/automation context, but not permit any mutative actions.

If possible, I'd like to set some configuration when reading/using the use_aws tool to only permit non mutative/read-only tools.

Proposed Solution

Set an environmental variable or pass a flag/customization to the use_aws tools so it only permits read-only actions.

Use Case

Automated use, where the bot will only see the read-only actions for use.

Alternatives Solutions

Can use other MCPs like the AWS API MCP server with read-only flag, but currently it's in beta and not as well supported as the strands use_aws tools.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions