Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create Async Chat Completion
PERPLEXITYAI_CREATE_ASYNC_CHAT_COMPLETIONCreate Async Chat Completion (POST /v1/async/sonar). Submits an asynchronous chat completion request for long-running tasks. Returns immediately with a request ID that can be polled using the Get Async Chat Completion action. Only the 'sonar-deep-research' model is supported for async processing. Async jobs have a 7-day TTL. Deep research generates very long responses (10K-100K+ words) with exhaustive multi-source analysis. Use the idempotency_key to prevent duplicate submissions. Poll with Get Async Chat Completion using the returned request ID to retrieve results when status is COMPLETED.
Create Chat Completion
PERPLEXITYAI_CREATE_CHAT_COMPLETIONGenerate a chat-compatible response from conversation messages, with optional search controls. Streaming responses are collected into a chat-completion result; recency and date filters are mutually exclusive. DEPRECATED: Sonar support has ended; prefer Execute Agent for new integrations.
Create Contextualized Embeddings
PERPLEXITYAI_CREATE_CONTEXTUALIZED_EMBEDDINGSCreate Contextualized Embeddings (POST /v1/contextualizedembeddings). Generates document-aware embeddings where chunks from the same document share context. Unlike standard embeddings, these recognize sequential relationships within documents, improving retrieval quality. Models: pplx-embed-context-v1-0.6b (1024 dims) and pplx-embed-context-v1-4b (2560 dims). Both support Matryoshka dimension reduction and INT8/binary quantization.
CreateEmbeddings
PERPLEXITYAI_CREATE_EMBEDDINGSGenerate vector embeddings for independent texts (queries, sentences, documents). This action takes one or more input texts and generates vector embeddings using Perplexity AI's embedding models. Embeddings are useful for semantic search, similarity matching, and machine learning downstream tasks. Supported models: - pplx-embed-v1-0.6b: Smaller, faster model (1024 dimensions) - pplx-embed-v1-4b: Larger, more accurate model (2560 dimensions) The output embeddings are base64-encoded for efficient transmission. Use the dimensions parameter to reduce embedding size for faster processing when full precision is not required (Matryoshka representation).
Create Orchestrator Chat Completion
PERPLEXITYAI_CREATE_ORCHESTRATOR_CHAT_COMPLETIONCreate a non-streaming OpenAI-compatible chat completion using a cataloged Orchestrator model. Supports multimodal conversations, structured output, reasoning, caching and tool calls where the selected model supports them. Returns the completion and token accounting; stream=True is unsupported.
Create Orchestrator Message
PERPLEXITYAI_CREATE_ORCHESTRATOR_MESSAGECreate a non-streaming Anthropic-compatible message using an Orchestrator catalog model. Supply conversation history and max_tokens; optionally configure tools, sampling, thinking, caching or structured output where the model supports them. Returns content blocks, stop information and usage. stream=True is unsupported.
CreateOrchestratorResponse
PERPLEXITYAI_CREATE_ORCHESTRATOR_RESPONSEGenerate a non-streaming model response through the Perplexity Orchestrator using a creator/model-name catalog ID, input text or structured items, optional tools, and structured output settings. Returns the full Responses-compatible resource; stream=True is rejected.
Create Skill
PERPLEXITYAI_CREATE_SKILLCreate a Project-owned skill from a ZIP bundle containing SKILL.md. The bundle supplies the skill name and description. Returns the skill ID and revision metadata for subsequent use, updates, or deletion. The provider may reject invalid bundles, oversized uploads, or a Project's skill limit.
Execute Agent
PERPLEXITYAI_EXECUTE_AGENTCreate Agent Response (POST /v1/agent). Orchestrates multi-step agentic workflows with built-in tools (web search, URL fetching, function calling, finance search, image search), reasoning, and multi-model support. Streaming is not supported by this action. At least one of 'model', 'models', or 'preset' must be provided. Available presets: 'fast-search', 'pro-search', 'deep-research'. The 'deep-research' preset generates very long responses (10K-100K+ words) with exhaustive multi-source analysis. Available models include Perplexity Sonar, OpenAI, Anthropic, Google, xAI, and NVIDIA models at direct provider rates. Use the List Models action to see available model identifiers.