Needle
Overview
SLUG: NEEDLE
Description
Needle provides retrieval-augmented generation (RAG) tools that enable semantic search across your data, facilitating the development of AI agents and applications.
Authentication Details
API Key
Connecting to Needle
Create an auth config
Use the dashboard to create an auth config for the Needle toolkit. This allows you to connect multiple Needle accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Needle Auth Config”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Needle toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
NEEDLE_CREATE_COLLECTION
Tool Name: Create Collection
Description
Action Parameters
Action Response
NEEDLE_DELETE_FILES_FROM_COLLECTION
Tool Name: Delete files from a collection
Description
Action Parameters
Action Response
NEEDLE_GET_COLLECTION_STATS
Tool Name: Get collection stats
Description
Action Parameters
Action Response
NEEDLE_LIST_COLLECTION_FILES
Tool Name: List Collection Files
Description
Action Parameters
Action Response
NEEDLE_LIST_COLLECTIONS
Tool Name: List Collections
Description
Action Parameters
Action Response