All tools
P
by Perplexity
Get page snippets
Returns only the passages of one or more web pages that are relevant to a query, as JSON.
Updated Sep 27, 2026
get-page-snippets.md
Get page snippets
Returns only the passages of one or more web pages that are relevant to a query, as JSON.
Note: Takes up to 50 URLs. A page that can't be snipped returns an error instead of text without failing the command, so check every result. Needs CLI v0.2.3 or later.
Set up
Use the first option your agent supports.
CLI (official)
Install the command, then confirm it runs.
curl -fsSL https://github.com/perplexityai/perplexity-cli/releases/latest/download/install.sh | sh
pplx --version
Run pplx content snippets.
Set $PERPLEXITY_API_KEY in your environment first (get a key: https://console.perplexity.ai/project/keys).
Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
- Never print API keys.
Ways in
| Route | Source | Call | Required | Docs |
|---|---|---|---|---|
| Official | pplx content snippets | API key in $PERPLEXITY_API_KEY | Docs |
Workflows using Get page snippets
No workflows yet
No published workflow uses Get page snippets yet.