diagnose_service_link
Diagnose connectivity issues between cloud services and resources by checking environment variables, security rules, and API reachability to identify and resolve connection problems.
Instructions
Diagnose connectivity issues between a source service and a target resource. Checks Vercel environment variables, AWS Security Group inbound rules on the required port, and external API reachability. Returns a list of diagnostic results with actionable messages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_service | Yes | The origin service that initiates the connection. | |
| target_resource | Yes | The resource to connect to. Format: '<type>:<identifier>'. Examples: 'aws-rds:my-db', 'aws-lambda:my-function', 'external-api:https://api.example.com' | |
| port | No | TCP port to verify access on. Auto-detected from common resource types when omitted. | |
| aws_region | No | ||
| vercel_project | No | Vercel project name or ID for env-var checks. | |
| s3_origin | No | When target is aws-s3, check CORS for this origin (e.g. 'https://my-app.pages.dev'). |