Agent
Perplexity
Perplexity
Agent
Create a response using the Perplexity Agent API with model and input.
ActionAI Tool
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
model | text | Required | Model identifier (for example openai/gpt-5.5 or perplexity/sonar). |
input | text | Required | Prompt or input content for the agent. |
instructions | text | Optional | Optional system-style instruction text. |
max_output_tokens | number | Optional | Optional maximum output tokens. |
temperature | number | Optional | Optional sampling temperature. |
tools | array of object | Optional | Optional tool definitions, for example [{"type":"web_search"}]. |
type | text | Optional | Tool type value. |
Outputs
| Name | Type | Description |
|---|---|---|
statusCode | number | HTTP status code |
body | object | Perplexity Agent API response payload. |
id | text | Response ID. |
status | text | Response status. |
model | text | Resolved model used by the API. |
output_text | text | Convenience concatenated output text, when provided. |
usage | object | Usage details returned by the API. |
input_tokens | number | Input token count. |
output_tokens | number | Output token count. |
total_tokens | number | Total token count. |