Preview an import of tool definitions from an OpenAPI spec or connector YAML manifest.
Tools
Preview an import of tool definitions from an OpenAPI spec or connector YAML manifest.
Parses the spec, extracts tool definitions, and optionally calls the LLM to infer class+domain. Never auto-commits — the caller iterates the imported[] array and writes each tool individually via POST /v1/tools. Platform-admin only. SSRF-defended (localhost / link-local / RFC-1918 blocked).
POST
Preview an import of tool definitions from an OpenAPI spec or connector YAML manifest.
Authorizations
Supabase JWT token in Authorization: Bearer header
Body
application/json
Available options:
openapi, connector_yaml Available options:
inline, url Raw spec text. Required when source=inline.
Public URL to fetch the spec. Required when source=url.
When true (default), calls the LLM to infer class + domain per tool.