api_search
Discover available Crevio API endpoints. Use this BEFORE api_execute when you're unsure which endpoint to call, need to check parameter names, or want to explore what's available for a domain (e.g. "experiences", "discounts"). A tools method returns the full API catalog — an array of hashes keyed with strings: "method", "path", "summary", "description", "tags", "parameters", "request_body". Examples: tools.select { |t| t["tags"]&.include?("Products") }.map { |t| "#{t["method"]} #{t["path"]} — #{t["summary"]}" } tools.find { |t| t["path"].include?("price_variants") && t["method"] == "POST" }["request_body"] tools.map { |t| t["tags"] }.flatten.compact.uniq.sort — list all API domains
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Ruby code to execute. Use `tools` to access the API catalog and filter/search it. |