list_sources
Access and manage AWS VPC Lattice information by listing available sources with URLs and sample prompts for AWS networking documentation.
Instructions
List all available sources with their URLs and sample prompts
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.ts:131-142 (handler)Handler logic for the 'list_sources' tool, which serializes a list of source names and URLs from the imported 'sources' data into JSON format and returns it as tool response content.case 'list_sources': return { content: [ { type: 'text', text: JSON.stringify(sources.map(s => ({ name: s.name, url: s.url })), null, 2) } ] };
- src/tools.ts:16-24 (registration)Tool registration entry for 'list_sources' in the exported 'tools' array, defining the tool's name, description, and empty input schema (no parameters required).{ name: 'list_sources', description: 'List all available sources with their URLs and sample prompts', inputSchema: { type: 'object', properties: {}, additionalProperties: false }, },
- src/tools.ts:19-22 (schema)Input schema for the 'list_sources' tool, specifying an empty object (no input parameters).inputSchema: { type: 'object', properties: {}, additionalProperties: false
- src/data/sources.ts:1-27 (helper)Exported 'sources' data array providing the list of sources with names, URLs, and prompts, used by the list_sources handler.export const sources = [ { name: 'AWS Documentation', url: 'https://docs.aws.amazon.com', prompts: [ 'What are the key features of {service}?', 'How do I configure {service} for {use_case}?', 'What are the best practices for using {service}?' ] }, { name: 'AWS Gateway API Controller for VPC Lattice', url: 'https://github.com/aws/aws-application-networking-k8s', prompts: [ 'Does the EKS controller support {feature}', 'Show me {type} issues in the EKS controller repo' ] }, { name: 'Kubernetes Gateway API', url: 'https://gateway-api.sigs.k8s.io/', prompts: [ 'Fix error: {error_message}', 'Best practices for {resource}' ] } ];