Skip to main content
Tools are what turn a model into an agent. On its own a model answers only from what it already knows; tools let it search the live web, fetch a page, run code, or call into your own systems. You enable tools by listing them in the tools array, and within a single request the model runs an agentic loop โ€” it reasons, calls a tool, observes the result, and repeats until it can answer.

Three kinds of tools

KindWhat it isWhere the model runs it
Built-in toolsPerplexity-hosted capabilities, enabled by type.Inside the loop; Perplexity runs it and returns results inline.
MCP serversYour own remote MCP server, connected with type: mcp.Inside the loop; the model calls its tools automatically.
Custom functionsFunctions you control, declared with a JSON Schema.Paused back to you; you run the call and return the result.

Built-in tools

Enable each by its type. Every tool has its own reference page for full settings, response shape, and pricing.
TooltypeUse it to
Web Searchweb_searchSearch the live web, with domain/date/location filters
SandboxsandboxRun code in an isolated container
Fetch URL Contentfetch_urlPull and extract content from specific URLs
Finance Searchfinance_searchRetrieve structured financial and market data
People Searchpeople_searchFind professionals and people

Bring your own

MCP servers

Connect a remote MCP server with type: mcp and let the model call its tools automatically.

Custom functions

Declare a type: function tool with a JSON Schema and run the call on your side.