Skip to content

Conversation

anprasad2030
Copy link
Collaborator

Created Python functions for AWS S3 config management operations. (1) handle_bar_manageAWSS3Operations (2) manage_AWS_S3_backup_configurations (3) list_aws_s3_backup_configurations()

@anprasad2030 anprasad2030 merged commit 9ecbe49 into feature/bar-tools-integration Sep 18, 2025
Comment on lines +10 to +39

bar_manageAWSS3Operations:
type: tool
description: Manage AWS S3 backup configuration for Teradata DSA via MCP server (list, config, delete_all, remove)
parameters:
operation:
type: string
description: Operation to perform (list, config, delete_all, remove)
required: true
accessId:
type: string
description: AWS Access ID
required: false
accessKey:
type: string
description: AWS Access Key
required: false
bucketsByRegion:
type: object
description: "Buckets by region configuration (object: dict or list)"
required: false
bucketName:
type: string
description: AWS Bucket Name
required: false
acctName:
type: string
description: AWS Account Name
required: false
handler: handle_bar_manageAWSS3Operations
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anprasad2030

Remove duplicate tool registration: The bar_manageAWSS3Operations definition in bar_objects.yml conflicts with the implementation in bar_tools.py. Please remove the YAML definition to prevent tool registration conflicts and maintain a single source of truth for this functionality.

import os
from typing import Any, Dict, List, Optional
import requests
import requests # pyright: ignore[reportMissingModuleSource]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anprasad2030
Remove unnecessary Pyright ignore: Remove # pyright: ignore[reportMissingModuleSource] from the requests import on line 7. This suppression is not needed for a standard dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants