Elephant: PDF AI & Docs Q&A
v1.5.1PDF AI for your own documents: ask from any MCP client and get answers that cite the source.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
elephant-ask Ask Elephant
Answers a question from the team's Calypso knowledge (documents, websites, images and other sources the team has added), with citations. Use it when the user asks about their own company, product, policies, documents or anything their team keeps in Calypso. Always cite the sources the answer returns. If the answer says the knowledge does not cover the question, say so plainly instead of answering from general knowledge. Each call stands alone: put everything needed to answer, including the subject of a follow-up, in the prompt. Without `model`, Elephant answers from every bucket the user has,…
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The user's question, with any context or format they asked for. |
buckets | array | Optional bucket ids or slugs (from elephant-list-buckets), up to 5, to answer only from those. Use it when the user names a folder or topic that matches a bucket; omit it otherwise and Elephant finds… |
depth | string | How much work the answer is worth. Omit it for the agent's own default. `fast`: a lookup of one stated fact (a price, a date, a limit); a few seconds. `balanced`: an explanation or summary that draws… |
fileIds | array | Optional source ids (from elephant-list-buckets or a search result) that the answer must take into account. The answer may still draw on the agent's other sources; to read only certain buckets, use el… |
model | string | Optional id of one of the team's Calypso agents, when the user names one. Omit it to answer from every bucket the user has, including ones created a moment ago. |
elephant-search Search Elephant
Searches the team's Calypso knowledge and returns the matching passages and their sources, without writing an answer. Use it when the user wants the exact wording, quotes, or a list of where something is mentioned. Each result's `text` is one whole matching passage as the document has it, and `quote`, when present, is the line in that passage that matched most closely. Read the whole `text` before searching again: a short document is one passage, so a single result can hold everything it says on the subject. Quote wording to the user from `text`, never from memory. When the passages returned…
| Parameter | Type | Description |
|---|---|---|
query * | string | What to look for. |
agent | string | Optional id of one of the team's Calypso agents, to search only what that agent can see. Omit it (and `buckets`) to search every bucket the user has. Not together with buckets. |
alsoSearchFor | array | Up to 2 other ways of saying the same thing, searched alongside `query` (this makes the search thorough). Write them as the document would: its own terms, a synonym, the specific item ("express delive… |
buckets | array | Bucket ids or slugs (from elephant-list-buckets) to search directly, up to 5. Not together with agent. |
depth | string | `fast` (default) runs one search. `thorough` runs several in parallel and merges them: use it when a fast search came back with fewer passages than the question deserves, or when you are gathering evi… |
maxResults | integer | The most passages to return, 1 to 20 (default 10). A ceiling, not a target: a search returns as many passages as it finds. |
elephant-list-buckets List buckets
Lists the team's knowledge buckets — folders of sources Elephant remembers — with their names, slugs, file counts and the sources in each (id, name, type, and whether it is ready to answer from). Use it to show the user what Elephant knows about, to pick buckets before elephant-search, or to find a source's id by its name. Call a source by its name when you tell the user about it. `moreSources: true` means the bucket holds more than the ones named.
| Parameter | Type | Description |
|---|---|---|
includeArchived | boolean | If true, also list archived buckets. Defaults to false. |
includeSources | boolean | Name the sources in each bucket (id, name, type, ready). Defaults to true; pass false for counts only. |
elephant-open-source Open a source
Returns one source's details by file id: name, type, size, the buckets it is in and whether it is ready to answer from. Use it when the user asks about a specific source cited in an answer or listed by elephant-list-buckets.
| Parameter | Type | Description |
|---|---|---|
fileId * | string | The source's file id, as listed by elephant-list-buckets. |
verify | boolean | If true, double-check the source's indexing status with the index itself. Slower. |
elephant-add-file Add a file
Adds one file to a knowledge bucket so Elephant can answer from it. Pass exactly one source: `file` (a file the user attached in ChatGPT), `sourceUrl` (a public http(s) link) or `contentBase64`. Also pass a bucket (`bucket`, `bucketSlugs` or `bucketIds`). Pass `waitForIndexing: true` when the user wants to ask about the file right away.
| Parameter | Type | Description |
|---|---|---|
bucket | string | One bucket slug, as a shortcut for a single destination. |
bucketIds | array | Ids of existing buckets to add to (from elephant-list-buckets). Give this, bucketSlugs or bucket. |
bucketSlugs | array | Slugs of buckets to add to (from elephant-list-buckets). Give this, bucketIds or bucket. |
contentBase64 | string | The file's bytes as base64. Use only when the file is neither attached nor at a public link. |
createMissingBuckets | boolean | If true, buckets named by slug that do not exist yet are created. |
file | object | A file the user attached in ChatGPT. The preferred source when there is one. |
filename | string | File name to show for this source. Required with contentBase64; taken from the file otherwise. |
idempotencyKey | string | Optional key that makes a retry return the first result instead of adding the same thing twice. |
metadata | object | Optional extra fields stored with the source. |
mimeType | string | Content type of the file. Required with contentBase64; taken from the file otherwise. |
sourceUrl | string | A public http(s) link to the file. Calypso fetches it itself (public hosts only, up to 25 MB). |
tags | array | Optional tags to organise the source. |
title | string | Optional human-readable title for the source. |
waitForIndexing | boolean | If true, wait until the file is ready to answer from before returning. |
elephant-add-files Add files
Adds 1 to 100 files to knowledge buckets in one request. Each item carries its bytes as `contentBase64`. A shared bucket applies to every item unless an item names its own. For a single file the user attached, use elephant-add-file instead.
| Parameter | Type | Description |
|---|---|---|
items * | array | The files to add, 1 to 100. |
batchIdempotencyKey | string | Optional key that makes a retry of the whole batch return the first result. Generated when omitted. |
bucket | ||
bucketIds | ||
bucketSlugs | ||
createMissingBuckets | ||
waitForBatchReady | boolean | If true, wait until every file is ready (or has failed) before returning. |
elephant-add-website Add a website
Adds a web page to knowledge buckets so Elephant can answer from it. Calypso reads the page and writes its title, summary and tags. Use it when the user shares a link and wants Elephant to remember it. Adding a page the team already has is refused as `website_url_exists`, unless the same `idempotencyKey` is sent again.
| Parameter | Type | Description |
|---|---|---|
url * | string | The web page to add. https:// is assumed when left out. |
bucket | string | One bucket slug, as a shortcut for a single destination. |
bucketIds | array | Ids of existing buckets to add to (from elephant-list-buckets). Give this, bucketSlugs or bucket. |
bucketSlugs | array | Slugs of buckets to add to (from elephant-list-buckets). Give this, bucketIds or bucket. |
createMissingBuckets | boolean | If true, buckets named by slug that do not exist yet are created. |
idempotencyKey | string | Optional key that makes a retry return the first result instead of adding the same thing twice. |
preferredLanguage | string | Language for the title, summary and tags Calypso writes, e.g. 'en' or 'es'. |
tagsHint | string | Optional comma-separated hint for the tags Calypso writes. |
title | string | Optional title to use instead of the one Calypso writes. |
elephant-create-bucket Create a bucket
Creates a new knowledge bucket (a folder of sources) for the team. Use it when the user wants to keep a new topic separate before adding files or websites. A new bucket needs no other setup: elephant-ask and elephant-search answer from it as soon as its files finish indexing.
| Parameter | Type | Description |
|---|---|---|
name * | string | The bucket's name. |
description | string | Optional note on what the bucket holds. |
idempotencyKey | string | Optional key that makes a retry return the first result instead of adding the same thing twice. |
slug | string | Optional short id for the bucket, used to add to it later. Made from the name when left out; a slug already in use is refused as `bucket_slug_exists`. |
elephant-rename-bucket Rename a bucket
Changes a bucket's name, its description, or both. The sources in the bucket, their indexing and the bucket's slug stay as they are. Use it when the user wants a bucket called something else or wants to note what it holds. Find the bucket with elephant-list-buckets first, and tell the user the old and the new name. Pass at least one of `name` and `description`. It does not move, add or delete anything: to move sources use elephant-move-sources.
| Parameter | Type | Description |
|---|---|---|
bucket * | string | The bucket to change: its id or slug, from elephant-list-buckets. |
description | string | A new note on what the bucket holds. |
name | string | The bucket's new name. |
elephant-move-sources Move sources
Moves sources from one bucket to another. Each source is added to the destination first and only then taken out of the bucket it came from, so it is never left without a bucket. Files are not deleted or uploaded again. Use it when the user wants to refile sources: split a bucket, tidy up, or put a file where it belongs. Before calling, name the sources and both buckets to the user. The destination must already exist: create it with elephant-create-bucket if this connection can. The result lists each source with what happened: `moved`, `not_in_source_bucket` (it was never in `fromBucket`), `no…
| Parameter | Type | Description |
|---|---|---|
fromBucket * | string | The bucket the sources are in now: its id or slug. |
sourceIds * | array | Ids of the sources to move, from elephant-list-buckets. Up to 100. |
toBucket * | string | The bucket the sources go to: its id or slug. It must exist. |