Demo
REFERENCE

testzeus-knowledge-bases

AUTO-GENERATEDBUILD 2026.12.05

Inspect and manage UIX knowledge documents backed by an existing authorized connection, and use knowledge context during test authoring.

Category: integration · Version: 1.1.0 · Requires: testzeus-auth

Triggers: knowledge base, knowledge document, kb, documentation, api docs, use knowledge base, AI context

Overview

The current UIX knowledge-document screen calls the Composio gateway. It is not the SDK's legacy knowledge_base collection. The knowledge-documents CLI group and discovered knowledge-documents.* capabilities use the same API as UIX.

Capabilities

List/get documents and content, create a document with an existing connection, rename a document, update selected content and request processing, or delete it. New connection authorization/OAuth consent remains in the platform UI.

Instructions

Use discover_platform_capabilities with knowledge-documents, then fetch the chosen capability's exact schema. Use the indicated read/mutation/destructive tool. Resolve and preserve exact document/content/connection IDs. Writes require an explicit confirmation of the exact action and payload.

Use knowledge-documents.list-connections to resolve a knowledge-capable connection by name without exposing its credentials. Creation requires name and connection_id (an already-authorized connection). It does not create or authorize that connection. select-content takes a JSON object/array serialized as content, not a file path, and sends selected_content plus is_processing: true. Read the result to distinguish queued processing from finished indexing. Do not claim that context is ready merely because the PATCH succeeded.

Best Practices

Keep pagination metadata. Never ask for passwords or infer connection ownership. The backend remains the authority for tenant access. For test authoring, use the specialized authoring workflow and its knowledge-context selection; do not assume IDs from different knowledge collections are interchangeable.

Examples

bash
testzeus --format json knowledge-documents list --page 1 --per-page 50
testzeus --format json knowledge-documents get DOCUMENT_ID
testzeus --format json knowledge-documents rename DOCUMENT_ID --name "API context"

In the TestZeus platform, use discovered tools rather than executing these command strings.