Parallel icon

Parallel

Highest accuracy web search tools for AI agents

Task → Web Chat

AI-generated

Summary

Generate an AI chat completion with web access, returning text or a structured JSON response based on the prompt and optional schema.

Inputs

  • chatInputPrompt (required) — Your question or prompt for the AI to answer using web research
  • chatResponseFormat — Format of the response
  • chatJsonSchemaName — Name for the JSON schema
  • chatJsonSchema — JSON schema defining the structure of the expected response
  • chatAdditionalOptions — Additional AI chat configuration

Output shape

The Parallel AI chat completions API response, formatted as text or as a JSON object conforming to the selected schema.

When chatResponseFormat is 'json', the response conforms to chatJsonSchema with fields: answer (string), key_findings (array of strings), confidence_level ('High'|'Medium'|'Low'), last_updated_date (YYYY-MM-DD string).

Examples

Example 1: Text response

Use default text format; AI answers the prompt using web research.

Example 2: JSON response

Set chatResponseFormat to 'json' and provide chatJsonSchema; AI returns structured answer, key findings, confidence level, and last updated date.

Links

Discussion