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.
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 |
Input Schema (JSON Schema)
{
"properties": {
"chat_id": {
"description": "Optional: ID of an existing chat to continue. If not provided, a new chat will be created.",
"examples": [
"123e4567-e89b-12d3-a456-426614174000"
],
"type": "string"
},
"message": {
"description": "The message to send to Perplexity AI for web search",
"examples": [
"Explain quantum computing",
"Continue our previous discussion about AI safety"
],
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
}