get_upload_url
Get File Upload URL
Get a signed S3 upload URL for uploading a file to the knowledge base. Returns a URL for uploading via PUT and a key to use when creating a document from the uploaded file.
get_upload_url
Get a signed S3 upload URL for uploading a file to the knowledge base. Returns a URL for uploading via PUT and a key to use when creating a document from the uploaded file.
send_message_stream
Send a message and get a streaming URL for receiving the AI response as Server-Sent Events (SSE). Useful for real-time progressive rendering of responses.
get_conversation
Retrieve details of a specific conversation by its ID.
get_document
Retrieve details of a specific knowledge base document including its sync status and content URL.
delete_document
Permanently delete a knowledge base document.
create_document_from_content
Create a new knowledge base document from text or HTML content. Structured HTML with headings and paragraphs yields best results for the AI.
list_documents
Retrieve knowledge base documents. Filter by folder, conversation (focus mode documents), or search by keyword.
send_message
Send a message within a conversation and receive the AI-generated response based on the bot's knowledge base. Returns the full response in a single call.
delete_conversation
Permanently delete a conversation and its message history.
create_document_from_file
Create a knowledge base document from a previously uploaded file. Requires a key obtained from the "Get File Upload URL" tool after uploading the file.
list_messages
Retrieve message history for a conversation. Returns both user messages and AI-generated responses in chronological order.
list_folders
Retrieve all folders used to organize your knowledge base documents. Optionally filter by name keyword.
get_folder
Retrieve details of a specific knowledge base folder by its ID.
create_conversation
Start a new conversation with an AI bot. Optionally enable focus mode by specifying document IDs to restrict the bot's knowledge to only those documents.
list_bots
Retrieve all AI bots configured in your Cody account. Bots are AI assistants set up with access to specific knowledge base folders and customized behavior. Optionally filter by name keyword.
create_document_from_webpage
Create a new knowledge base document by crawling a publicly accessible webpage URL. Cody will ingest the page content automatically.
create_folder
Create a new folder to organize knowledge base documents.
update_conversation
Update an existing conversation's name, associated bot, or focus mode documents.
update_folder
Rename an existing knowledge base folder.
list_conversations
Retrieve conversations with AI bots. Filter by bot or search by keyword.
get_message
Retrieve details of a specific message by its ID, including content and metadata about whether it was AI-generated.
Create and manage custom AI bots trained on your own knowledge base. Upload documents (text, HTML, files, or web URLs), organize them into folders, and build conversations with AI bots that generate responses based on uploaded knowledge. Manage conversations with focus mode to restrict responses to specific documents. Send messages and receive AI-generated answers via standard responses or real-time SSE streaming.
Common questions about connecting Cody to AI agents with Metorial.