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.
Fields to fill in FlyMyAI
| Field | Details |
|---|---|
Needle API Key | Your 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.
| Action | What it does | Required inputs |
|---|---|---|
NEEDLE_CREATE_COLLECTION | Tool to create a new collection. use after confirming the collection name. | name |
NEEDLE_DELETE_FILES_FROM_COLLECTION | Tool 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_STATS | Tool 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_COLLECTIONS | Tool to list collections. use after authenticating with your api key to page through collections. | - |
NEEDLE_LIST_COLLECTION_FILES | Tool 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 |
Links
We love our partners - FlyMy.AI builds with the best. Thanks, Needle!