aws-mcp__aws___run_script
Execute Python code in sandboxed environment with AWS API access via call_boto3. No network except call_boto3.
async def call_boto3(
*,
service_name: str,
operation_name: str,
region_name: str | None = None,
params: dict | None = None,
) -> dict: ... # the AWS response itselfoperation_name MUST be the PascalCase AWS API operation name (e.g. ListBuckets,
GetTable). Do not use the snake_case boto3 method name
(list_buckets, get_table);
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>"
},
"name": "aws-mcp__aws___run_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python code to execute |