perplexity_reason
Processes conversation messages to perform reasoning via the Perplexity API and returns a well-reasoned response using the sonar-reasoning-pro model.
Instructions
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.
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": {
"messages": "<messages>"
},
"name": "perplexity_reason"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messages | Yes | Array of conversation messages |