ListKnowledgeBases
List all available Amazon Bedrock Knowledge Bases and their data sources.
This tool returns a mapping of knowledge base IDs to their details, including:
- name: The human-readable name of the knowledge base
- description: The description of the knowledge base
- data_sources: A list of data sources within the knowledge base, each with:
- id: The unique identifier of the data source
- name: The human-readable name of the data source
## Example response structure:
{
"kb-12345": {
"name": "Customer Support KB",
"description": "Knowledge base containing customer support documentation and FAQs",
"data_sources": [
{"id": "ds-abc123", "name": "Technical Documentation"},
{"id": "ds-def456", "name": "FAQs"}
]
},
"kb-67890": {
"name": "Product Information KB",
"description": "Comprehensive product specifications and details",
"data_sources": [
{"id": "ds-ghi789", "name": "Product Specifications"}
]
}
}## How to use this information:
- Extract the knowledge base IDs (like "kb-12345") for use with the QueryKnowledgeBases tool
- Note the data source IDs if you want to filter queries to specific data sources
- Use the names to determine which knowledge base and data source(s) are most relevant to the user's query