Skip to main content
Needle logo

Needle

Needle provides retrieval-augmented generation (RAG) tools that enable semantic search across your data, facilitating the development of AI agents and applications.

This is a first-class FlyMyAI MCP. Agents discover it automatically via tool search and call the actions below on demand - you never wire it up by hand. See the Composio catalog for how discovery works.

Connect​

Needle authenticates with an API key. Generate the credential in your Needle account, then paste it into FlyMyAI the first time an agent uses a Needle action.

Get your Needle credential →

Fields to fill in FlyMyAI​

FieldDetails
Needle API KeyYour Needle API key, obtainable from the Needle settings page. (required)

Actions​

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

ActionWhat it doesRequired inputs
NEEDLE_CREATE_COLLECTIONTool to create a new collection. use after confirming the collection name.name
NEEDLE_DELETE_FILES_FROM_COLLECTIONTool to delete files from a specific collection by providing file ids. use after confirming valid file ids to remove from the collection.collection_id, file_ids
NEEDLE_GET_COLLECTION_STATSTool to retrieve statistics for a specific collection by its id. use when you need document count, index size, and timestamps after confirming the collection exists.collection_id
NEEDLE_LIST_COLLECTIONSTool to list collections. use after authenticating with your api key to page through collections.-
NEEDLE_LIST_COLLECTION_FILESTool to list all files within a specific collection by its id. use when you have a collection id and need to retrieve its files. supports pagination.collection_id
We love our partners - FlyMy.AI builds with the best. Thanks, Needle!