INTEGRATIONS · DIFY

Dify custom search tool integration

Add Annolux bilingual search to Dify workflows and agents with one OpenAPI schema import.

Import OpenAPI schema

In Dify Studio, navigate to Tools → Custom Tools → Create Custom Tool. Enter the official OpenAPI schema URL: https://annolux.com/openapi.json

Authentication setup

Set Authorization Method to API Key, Auth Type to Bearer, and enter your Annolux API key (starts with ann_live_). Dify securely stores the key and sends it on tool invocation.

Using search in Dify workflows

In your Dify Chatbot or Workflow, add the search_web tool node. Map the query input to user input or LLM generation. Responses arrive with clean snippets and fetched_at timestamps.

Boundaries and credits

Search queries a curated bilingual index. Exactly 1 credit per successful 2xx query; errors and timeouts cost zero. New accounts receive 1,000 free permanent credits.