Tools
Perplexity Ask
Run the agent and tools in the cloud quickly using the steps below.
Required Environment Variables
PERPLEXITY_API_KEY
: Your Perplexity API key
Step-by-step Instructions
-
Install Meshagent
-
Sign Up & Authenticate
- Follow instructions at: https://docs.meshagent.com/cli/getting_started
-
Start the MCP Perplexity Server in a Meshagent Room
- This command starts a Meshagent room (
test
) running the MCP server instance. - Note: Rooms automatically close if inactive.
- This command starts a Meshagent room (
-
Join the Room With a Chatbot & Toolkit
- This starts a chatbot in the room using the
mcp-perplexity-ask
toolkit. - Multiple toolkits and agents can be run in the same room for richer interactions.
- After running, a link to interact with the agent and tools will be provided in the command output.
- This starts a chatbot in the room using the
Tools Available
Tools Summary
Tool | Short Description |
---|---|
perplexity_ask | Engages in a conversation using the Sonar API. |
perplexity_reason | Performs reasoning tasks using the Perplexity API. |
perplexity_research | Performs deep research using the Perplexity API. |
Tools Details
perplexity_ask
Engages in a conversation using the Sonar API. Accepts an array of messages (each with a role and content) and returns a ask completion response from the Perplexity model.
Parameters | Type | Description |
---|---|---|
messages | array | Array of conversation messages |
perplexity_reason
Performs reasoning tasks using the Perplexity API. Accepts an array of messages (each with a role and content) and returns a well-reasoned response using the sonar-reasoning-pro model.
Parameters | Type | Description |
---|---|---|
messages | array | Array of conversation messages |
perplexity_research
Performs deep research using the Perplexity API. Accepts an array of messages (each with a role and content) and returns a comprehensive research response with citations.
Parameters | Type | Description |
---|---|---|
messages | array | Array of conversation messages |