perplexityai · 9 tools · no triggers
Connect it
run auth perplexityai
run auth perplexityai --scope team # shared with the organization
Use it
run perplexityai # common commands
run perplexityai --all # every command
import { perplexityai } from "@boxd/run";
Common tools
| Tool | What it does |
|---|---|
create-async-chat-completion | Create Async Chat Completion (POST /v1/async/sonar). Submits an asynchronous chat completion request for long-running tasks. |
create-chat-completion | Perplexity Sonar Chat Completions (POST /v1/sonar). Generates web-grounded conversational AI responses with citations. |
create-contextualized-embeddings | Create Contextualized Embeddings (POST /v1/contextualizedembeddings). |
create-embeddings | Generate vector embeddings for independent texts (queries, sentences, documents). |
execute-agent | Create Agent Response (POST /v1/agent). Orchestrates multi-step agentic workflows with built-in tools (web search, URL fetching, function calling)… |
All 9 tools
All 9 tools
| Tool | What it does |
|---|---|
create-async-chat-completion | Create Async Chat Completion (POST /v1/async/sonar). Submits an asynchronous chat completion request for long-running tasks. |
create-chat-completion | Perplexity Sonar Chat Completions (POST /v1/sonar). Generates web-grounded conversational AI responses with citations. |
create-contextualized-embeddings | Create Contextualized Embeddings (POST /v1/contextualizedembeddings). |
create-embeddings | Generate vector embeddings for independent texts (queries, sentences, documents). |
execute-agent | Create Agent Response (POST /v1/agent). Orchestrates multi-step agentic workflows with built-in tools (web search, URL fetching, function calling)… |
get-async-chat-completion | Get Async Chat Completion (GET /v1/async/sonar/{id}). Retrieves the result of an asynchronous chat completion request by its ID. |
list-async-chat-completions | List Async Chat Completions (GET /v1/async/sonar). Retrieves a list of all asynchronous chat completion requests for the authenticated user. |
list-models | List Models (GET /v1/models). Lists models available for the Agent API. |
search | Search the Web (POST /search). Returns raw, ranked web search results directly from Perplexity’s index without LLM processing. |