4. Cloudant Tool (IBM Cloudant)
OverviewConnects AEX agents to IBM Cloudant as a JSON document store for operational, configuration, and conversation data.
Key capabilities
- CRUD on JSON documents.
- Query documents using selectors and indexes.
-
Manage secondary indexes to speed up queries.
Functions
- create_document – Creates a new document in the database.
- read_document – Reads a document from the database.
- update_document – Updates an existing document.
- delete_document – Deletes a document.
- query_database – Queries the database using a selector.
- create_index – Creates an index in the database.
-
delete_index – Deletes an existing index.
Configuration
- Secrets: CLOUDANT_API_KEY, CLOUDANT_URL
-
Config: DATABASE_NAME
Typical AEX use cases
- Persisting agent state and conversation context.
-
Storing routing rules, mappings, and other lightweight domain data.