cloudkb

v0.1.0
io.github.CloudCorpRecords/cloudkb Checked 2 days ago Published 1 month ago

Bedrock 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.

ParameterTypeDescription
max_resultsnumberMaximum number of knowledge bases to return in one page.
next_tokenstringPagination token returned by a previous list call to fetch the next page.

get_knowledge_base

Retrieve a Bedrock knowledge base by its ID.

ParameterTypeDescription
knowledge_base_id *stringThe unique identifier of the Bedrock knowledge base to retrieve.

list_data_sources

List the data sources of a Bedrock knowledge base.

ParameterTypeDescription
knowledge_base_id *stringThe unique identifier of the knowledge base whose data sources to list.
max_resultsnumberMaximum number of data sources to return in one page.
next_tokenstringPagination token returned by a previous list call to fetch the next page.

get_data_source

Retrieve a data source of a Bedrock knowledge base.

ParameterTypeDescription
data_source_id *stringThe unique identifier of the data source to retrieve.
knowledge_base_id *stringThe unique identifier of the knowledge base that owns the data source.

list_ingestion_jobs

List ingestion jobs for a knowledge base data source.

ParameterTypeDescription
data_source_id *stringThe unique identifier of the data source whose ingestion jobs to list.
knowledge_base_id *stringThe unique identifier of the knowledge base that owns the data source.
max_resultsnumberMaximum number of ingestion jobs to return in one page.
next_tokenstringPagination 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.

ParameterTypeDescription
data_source_id *stringThe unique identifier of the data source that owns the ingestion job.
ingestion_job_id *stringThe unique identifier of the ingestion job to retrieve.
knowledge_base_id *stringThe unique identifier of the knowledge base that owns the data source.

start_ingestion_job

Start an ingestion job for a knowledge base data source.

ParameterTypeDescription
data_source_id *stringThe unique identifier of the data source to ingest.
knowledge_base_id *stringThe unique identifier of the knowledge base that owns the data source.
client_tokenstringA unique, case-sensitive identifier to ensure the request completes only once.
descriptionstringA description for the ingestion job being started.

stop_ingestion_job

Stop a running ingestion job for a knowledge base data source.

ParameterTypeDescription
data_source_id *stringThe unique identifier of the data source that owns the ingestion job.
ingestion_job_id *stringThe unique identifier of the ingestion job to stop.
knowledge_base_id *stringThe unique identifier of the knowledge base that owns the data source.

retrieve

Retrieve passages from a knowledge base for a query.

ParameterTypeDescription
knowledge_base_id *stringThe unique identifier of the knowledge base to query.
query *stringThe query text to retrieve relevant passages for.
max_resultsnumberMaximum number of results to retrieve from the knowledge base.

retrieve_and_generate

Retrieve from a knowledge base and generate an answer.

ParameterTypeDescription
knowledge_base_id *stringThe unique identifier of the knowledge base to query.
query *stringThe input text to retrieve for and generate an answer to.
model_arnstringThe ARN of the foundation model used to generate the answer.
session_idstringThe session identifier to reuse for a multi-turn retrieve-and-generate conversation.