Tool Search allows you to discover API actions using natural language queries. This makes it easy to find the right API endpoints without needing to read through documentation or understand complex API specifications.
The first step is to use natural language to discover available actions. You can do this by making a request to the Wild Card API:
Copy
Ask AI
import requestsquery = "I need to create a product called Premium Access for $100"result = requests.get( "https://api.wild-card.ai/search", params={ "query": query, "collection_id": "<YOUR-COLLECTION-ID>" }, headers={"X-API-Key": "<YOUR-WILDCARD-API-KEY>"})
The API will return relevant actions based on your natural language query. These actions are formatted in a way that can be directly used with language models.