Skip to content

(aws-api-mcp-server): Commands with <outfile> parameter aren't supported #1152

@vtols

Description

@vtols

Describe the bug

Some commands take <outfile> parameter. For example:

aws lambda invoke --function-name AnalysisLambda --payload file:///Users/aznizam/temp/lambda-invoke-args-base64.txt result.txt

aws s3api get-object --bucket awouters-bucket-1 --key test.txt /tmp/aws-api-mcp/test.txt

See https://docs.aws.amazon.com/cli/latest/reference/lambda/invoke.html documentation as an example.

Expected Behavior

When executing commands with <outfile> parameter call_aws tool creates a file with streamed content.

Current Behavior

A validation error is raised with the following message:

Output file parameters are not supported yet. Use - as the output file to get the requested data in the response.

Reproduction Steps

You can reproduce by asking the agent to call a Lambda.

Possible Solution

No response

Additional Information/Context

No response

OS

macOS

Server

aws-api-mcp-server

Server Version

No response

Region experiencing the issue

Other information

No response

Service quota

  • I have reviewed the service quotas for this construct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

To triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions