Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@captain-sdk/openclaw-captain) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Captain Plugin for OpenClaw
Search text, images, video, and audio with natural language using Captain's multimodal RAG API.
Setup
- Get a Captain API key at runcaptain.com/studio
- Add to your OpenClaw config:
{
plugins: {
entries: {
captain: {
apiKey: "cap_...",
organizationId: "019a..."
}
}
}
}Tools
captain_search
Search a collection with natural language. Works across text, images, video, and audio.
> Search my-docs for "quarterly revenue trends"Parameters:
collection(required) — Collection namequery(required) — Natural language queryinference(optional, default: false) — Set true for AI-generated answerstop_k(optional, default: 10) — Number of results (when inference=false)rerank(optional, default: true) — Enable cross-modal reranking
captain_list_collections
List all collections in your organization.
captain_index_url (optional — add to tools.allow)
Index a public URL into a collection. Supports PDFs, web pages, images, video, and audio.
> Index https://example.com/report.pdf into my-docsTo enable:
{
tools: { allow: ["captain_index_url"] }
}Supported File Types
Documents: PDF, DOCX, DOC, TXT, MD, JSON, YAML, CSV, XLSX
Images: PNG, JPEG, GIF, BMP, TIFF, WEBP
Video: MP4, MOV, AVI, MKV, WEBM
Audio: MP3, WAV, AAC, FLAC, M4A, OGG