CallWixSiteAPI
Call apis on site "OhGiftPlease" (https://www.ohgiftplease.com/_api/mcp). Use this to perform an action on visitor's behalf, for example, query the site's data or book an appointment. Before calling this tool, you should ALWAYS check the rest docs (use "SearchSiteApiDocs" tool) for the specific API you want to call. The mentioned tool will give you instructions how to use the API.', 'NEVER try to guess the API or endpoint, ALWAYS check the docs using "SearchSiteApiDocs" tool. The url param should be taken from the "SearchSiteApiDocs" tool. It usually starts with "https://www.wixapis.com".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The url of the api to call - ALWAYS get the information from the API docs retrieved using the 'SearchSiteApiDocs' tool or from the conversation context, the URL MUST BE ABSOLUTE URL. Usually it starts with 'https://www.wixapis.com'. | |
| body | No | A string representing of a valid JSON object to describe the body of the request | |
| method | Yes | The HTTP method to use for the API call (e.g. GET, POST, PUT, DELETE) | |
| visitorToken | Yes | Visitor access token. If you have it in your context, ALWAYS use it and not create a new one. If you do not have it in your context, use the GenerateVisitorToken tool to get it. |