Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create Conversation
CODY_CREATE_CONVERSATIONTool to create a new conversation with a specified bot. Use when starting a new conversation thread with optional focus mode to limit bot's knowledge base to specific documents.
Create Document
CODY_CREATE_DOCUMENTTool to create a new document with text or HTML content in Cody AI. Use when you need to add documents to Cody's knowledge base with up to 768 KB of content.
Create Document From File
CODY_CREATE_DOCUMENT_FROM_FILECreate a Cody knowledge-base document from a previously uploaded file key in a destination folder. The file is processed asynchronously.
Create Document from Webpage
CODY_CREATE_DOCUMENT_FROM_WEBPAGETool to create a document from a publicly accessible webpage URL. Use when you need to import content from a webpage into Cody AI. The webpage must be accessible without login. If request fails, ensure the URL is publicly accessible and not blocked by a firewall.
Create Folder
CODY_CREATE_FOLDERTool to create a new folder in Cody AI for organizing content. Use when you need to create a folder to organize documents or conversations.
Delete Conversation
CODY_DELETE_CONVERSATIONTool to delete a conversation by its ID. Use when you need to permanently remove a conversation from the system.
Delete Document
CODY_DELETE_DOCUMENTTool to delete a document by id. Use when removing a document that is no longer needed.
Get Conversation
CODY_GET_CONVERSATIONFetch details of a Cody AI conversation by its ID.
Get Document
CODY_GET_DOCUMENTTool to retrieve a specific document by its identifier from Cody AI. Use when you need to get details about a particular document including its status, content URL, and metadata.
Get Folder
CODY_GET_FOLDERTool to retrieve a specific folder by its identifier. Use when you need to get details about a folder.
Get Message
CODY_GET_MESSAGETool to fetch a specific message by its ID from Cody AI. Use when you need to retrieve details about a particular message, with optional includes for sources or usage metrics.
Get Upload Signed URL
CODY_GET_UPLOADS_SIGNED_URLTool to get an AWS S3 signed upload URL for file uploads. Use when you need to obtain a signed URL to upload a file to Cody's storage.
List Bots
CODY_LIST_BOTSList a page of bots in a Cody account, optionally filtering by keyword. Pagination metadata is returned for navigating additional pages.
List Conversations
CODY_LIST_CONVERSATIONSList a page of conversations, optionally filtering by bot or name keyword and including document associations. Pagination metadata is returned for navigating additional pages.
List Documents
CODY_LIST_DOCUMENTSList a page of documents from a Cody AI account, optionally filtered by folder, conversation, or keyword. Returns document details including learning status and content URL, along with pagination metadata.
List Folders
CODY_LIST_FOLDERSList a page of folders in the account, optionally filtered by keyword, with pagination metadata.
List Messages
CODY_LIST_MESSAGESTool to retrieve a paginated list of messages from Cody, optionally filtered by conversation. Use when you need to list messages, with optional filtering by conversation_id and extra attributes (sources or usage).
Send Message
CODY_SEND_MESSAGETool to send a message to Cody AI and receive an AI-generated response. Use when you need to send a user message to a conversation and get the AI's reply.
Send Message for Stream
CODY_SEND_MESSAGE_FOR_STREAMTool to send a message to Cody AI and receive a Server-Sent Events (SSE) stream URL for the AI response. Use when you need streaming responses instead of waiting for the complete message. The response contains a stream_url that can be used to connect to the SSE stream and receive the AI's response in real-time chunks.
Update Conversation
CODY_UPDATE_CONVERSATIONUpdate a conversation by ID with its name and bot ID, optionally setting document IDs to limit the bot's knowledge base.