chat_perplexity
Use this tool to perform web searches and engage in interactive conversations. Maintain context with optional chat IDs for follow-ups, ensuring accurate and informed responses.
Instructions
Automatically call this tool for interactive, conversational queries. This tool leverages Perplexitys web search capabilities to provide real-time information and maintains conversation history using an optional chat ID for contextual follow-ups.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"message": "<message>"
},
"name": "chat_perplexity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | Optional: ID of an existing chat to continue. If not provided, a new chat will be created. | |
| message | Yes | The message to send to Perplexity AI for web search |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | ID of the chat session (new or existing) | |
| response | No | Perplexity AI response to the message |