Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get Collection
NEEDLE_GET_COLLECTIONTool to retrieve details for a specific collection by its ID. Use when you need to get collection metadata including name, creation date, and search query count.
Get collection stats
NEEDLE_GET_COLLECTION_STATSRetrieve statistics for a collection by ID, including user, chunk and character counts and file counts and bytes grouped by status.
Get File Download URL
NEEDLE_GET_FILE_DOWNLOAD_URLTool to get a short-lived signed private download URL for a Needle file. Use when you need to retrieve file content but the public storage URL requires authentication. The returned URL should be used immediately as it expires quickly.
Get local connector
NEEDLE_GET_LOCAL_CONNECTORTool to retrieve details of a local connector by its ID. Use when you need information about a specific local connector's configuration, device details, and associated folders.
List Collection Files
NEEDLE_LIST_COLLECTION_FILESList file metadata for a collection by ID, with pagination parameters. File URLs may be included; the returned total is the number of files in the current response, not necessarily the collection-wide count.
List Collections
NEEDLE_LIST_COLLECTIONSTool to list collections. Use after authenticating with your API key to page through collections. Similar collection names can exist; always verify the correct `collection_id` from results before performing subsequent operations.
List Connectors
NEEDLE_LIST_CONNECTORSTool to list connectors. Use to retrieve all configured connectors in your account.
List Local Connectors
NEEDLE_LIST_LOCAL_CONNECTORSTool to list local connectors. Use to retrieve all local connectors configured in your Needle account.
Search Collection
NEEDLE_SEARCH_COLLECTIONTool to perform semantic search within a specific Needle collection and return ranked results with source references. Use when you need to retrieve relevant content from a known collection using natural language queries.