Skip to content

API Reference parrot_tools.aws.ecs

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.aws.ecs

View source

AWS ECS Toolkit for AI-Parrot.

Provides inspection of ECS/Fargate tasks.

Alias AbstractToolkit

Re-exported from parrot_tools.toolkit.AbstractToolkit.

Class DescribeTasksInput

Input for describing specific ECS tasks.

Fields:

Field Type Default Description
cluster_name str ECS cluster name or ARN
task_arns List[str] Task ARNs to describe

Class ECSToolkit

Toolkit for inspecting AWS ECS/Fargate resources.

Each public method is exposed as a separate tool with the aws_ecs_ prefix.

Available Operations:

  • aws_ecs_list_clusters: List ECS clusters
  • aws_ecs_list_services: List services in a cluster
  • aws_ecs_list_tasks: List tasks with filters
  • aws_ecs_describe_tasks: Describe specific tasks
  • aws_ecs_get_fargate_logs: Get Fargate task logs
Parameter Type Default Description
aws_id str 'default'
region_name Optional[str] None
**kwargs {}

Method ECSToolkit.aws_ecs_list_clusters

List all ECS clusters in the AWS account.

aws_ecs_list_clusters() -> Dict[str, Any]

Returns: Dict[str, Any]

Method ECSToolkit.aws_ecs_list_services

List ECS services in a cluster.

aws_ecs_list_services(cluster_name: str) -> Dict[str, Any]

Parameter Type Default Description
cluster_name str

Returns: Dict[str, Any]

Method ECSToolkit.aws_ecs_list_tasks

List ECS tasks with optional filters.

aws_ecs_list_tasks(cluster_name: str, service_name: Optional[str] = None, desired_status: Optional[str] = None, launch_type: Optional[str] = None) -> Dict[str, Any]

Parameter Type Default Description
cluster_name str
service_name Optional[str] None
desired_status Optional[str] None
launch_type Optional[str] None

Returns: Dict[str, Any]

Method ECSToolkit.aws_ecs_describe_tasks

Describe specific ECS tasks.

aws_ecs_describe_tasks(cluster_name: str, task_arns: List[str]) -> Dict[str, Any]

Parameter Type Default Description
cluster_name str
task_arns List[str]

Returns: Dict[str, Any]

Method ECSToolkit.aws_ecs_get_fargate_logs

Get Fargate task logs from CloudWatch.

aws_ecs_get_fargate_logs(log_group_name: str, log_stream_prefix: Optional[str] = None, start_time: Optional[str] = None, limit: int = 100) -> Dict[str, Any]

Parameter Type Default Description
log_group_name str
log_stream_prefix Optional[str] None
start_time Optional[str] None
limit int 100

Returns: Dict[str, Any]

Class GetFargateLogsInput

Input for fetching Fargate task logs from CloudWatch.

Fields:

Field Type Default Description
log_group_name str CloudWatch log group used by Fargate tasks
log_stream_prefix Optional[str] Prefix for CloudWatch log streams
start_time Optional[str] Start time (ISO format or relative like '-1h', '-24h')
limit int Maximum number of log events

Class ListClustersInput

Input for listing ECS clusters.

Class ListServicesInput

Input for listing ECS services in a cluster.

Fields:

Field Type Default Description
cluster_name str ECS cluster name or ARN

Class ListTasksInput

Input for listing ECS tasks with optional filters.

Fields:

Field Type Default Description
cluster_name str ECS cluster name or ARN
service_name Optional[str] ECS service name to filter tasks
desired_status Optional[str] Filter by desired status (e.g. 'RUNNING', 'STOPPED')
launch_type Optional[str] Filter by launch type (e.g. 'FARGATE', 'EC2')

Alias tool_schema

Re-exported from parrot_tools.decorators.tool_schema.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally