cloudkb
v0.1.0Bedrock knowledge bases, data sources and retrieval as MCP tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_knowledge_bases
List Amazon Bedrock knowledge bases in the account.
| Parameter | Type | Description |
|---|---|---|
max_results | number | Maximum number of knowledge bases to return in one page. |
next_token | string | Pagination token returned by a previous list call to fetch the next page. |
get_knowledge_base
Retrieve a Bedrock knowledge base by its ID.
| Parameter | Type | Description |
|---|---|---|
knowledge_base_id * | string | The unique identifier of the Bedrock knowledge base to retrieve. |
list_data_sources
List the data sources of a Bedrock knowledge base.
| Parameter | Type | Description |
|---|---|---|
knowledge_base_id * | string | The unique identifier of the knowledge base whose data sources to list. |
max_results | number | Maximum number of data sources to return in one page. |
next_token | string | Pagination token returned by a previous list call to fetch the next page. |
get_data_source
Retrieve a data source of a Bedrock knowledge base.
| Parameter | Type | Description |
|---|---|---|
data_source_id * | string | The unique identifier of the data source to retrieve. |
knowledge_base_id * | string | The unique identifier of the knowledge base that owns the data source. |
list_ingestion_jobs
List ingestion jobs for a knowledge base data source.
| Parameter | Type | Description |
|---|---|---|
data_source_id * | string | The unique identifier of the data source whose ingestion jobs to list. |
knowledge_base_id * | string | The unique identifier of the knowledge base that owns the data source. |
max_results | number | Maximum number of ingestion jobs to return in one page. |
next_token | string | Pagination token returned by a previous list call to fetch the next page. |
get_ingestion_job
Retrieve an ingestion job for a knowledge base data source.
| Parameter | Type | Description |
|---|---|---|
data_source_id * | string | The unique identifier of the data source that owns the ingestion job. |
ingestion_job_id * | string | The unique identifier of the ingestion job to retrieve. |
knowledge_base_id * | string | The unique identifier of the knowledge base that owns the data source. |
start_ingestion_job
Start an ingestion job for a knowledge base data source.
| Parameter | Type | Description |
|---|---|---|
data_source_id * | string | The unique identifier of the data source to ingest. |
knowledge_base_id * | string | The unique identifier of the knowledge base that owns the data source. |
client_token | string | A unique, case-sensitive identifier to ensure the request completes only once. |
description | string | A description for the ingestion job being started. |
stop_ingestion_job
Stop a running ingestion job for a knowledge base data source.
| Parameter | Type | Description |
|---|---|---|
data_source_id * | string | The unique identifier of the data source that owns the ingestion job. |
ingestion_job_id * | string | The unique identifier of the ingestion job to stop. |
knowledge_base_id * | string | The unique identifier of the knowledge base that owns the data source. |
retrieve
Retrieve passages from a knowledge base for a query.
| Parameter | Type | Description |
|---|---|---|
knowledge_base_id * | string | The unique identifier of the knowledge base to query. |
query * | string | The query text to retrieve relevant passages for. |
max_results | number | Maximum number of results to retrieve from the knowledge base. |
retrieve_and_generate
Retrieve from a knowledge base and generate an answer.
| Parameter | Type | Description |
|---|---|---|
knowledge_base_id * | string | The unique identifier of the knowledge base to query. |
query * | string | The input text to retrieve for and generate an answer to. |
model_arn | string | The ARN of the foundation model used to generate the answer. |
session_id | string | The session identifier to reuse for a multi-turn retrieve-and-generate conversation. |