{
 "collection_methods": {
  "collect_by_url": {
   "input_schema": [
    {
     "name": "url",
     "required": true,
     "type": "url"
    },
    {
     "name": "prompt",
     "required": true,
     "type": "text"
    },
    {
     "name": "country",
     "required": false,
     "type": "text"
    },
    {
     "name": "index",
     "required": false,
     "type": "number"
    },
    {
     "name": "export_markdown_file",
     "required": false,
     "type": "boolean"
    },
    {
     "name": "additional_prompt",
     "required": false,
     "type": "text"
    }
   ],
   "output_fields": [
    {
     "description": "The Perplexity page URL that was crawled",
     "name": "url",
     "type": "url"
    },
    {
     "description": "The input prompt submitted to Perplexity",
     "name": "prompt",
     "type": "text"
    },
    {
     "description": "The full HTML representation of Perplexity's answer",
     "name": "answer_html",
     "type": "text"
    },
    {
     "description": "The plain text version of Perplexity's answer, stripped of HTML formatting",
     "name": "answer_text",
     "type": "text"
    },
    {
     "description": "The answer converted from HTML to Markdown format",
     "name": "answer_text_markdown",
     "type": "html2markdown"
    },
    {
     "description": "Web search results retrieved by Perplexity to generate the answer, including title, URL, page description, and position",
     "name": "sources",
     "type": "array"
    },
    {
     "description": "The raw HTML content of the crawled Perplexity source page",
     "name": "source_html",
     "type": "text"
    },
    {
     "description": "Indicates whether the result contains shopping data",
     "name": "is_shopping_data",
     "type": "boolean"
    },
    {
     "description": "Shopping data if available, including product details such as name, price, rating, and purchase link",
     "name": "shopping_data",
     "type": "array"
    },
    {
     "description": "The index column lets you assign a unique ID to each crawl request for easy tracking.",
     "name": "index",
     "type": "number"
    },
    {
     "description": "The unprocessed raw response data returned by Perplexity before any parsing or transformation",
     "name": "response_raw",
     "type": "text"
    },
    {
     "description": "The HTML content of the specific answer section within the Perplexity page",
     "name": "answer_section_html",
     "type": "text"
    },
    {
     "description": "Markdown-formatted text exported from Perplexity via the Export → Markdown Text option.",
     "name": "exported_markdown",
     "type": "text"
    },
    {
     "description": "Suggested follow-up prompts",
     "name": "related_prompts",
     "type": "array"
    },
    {
     "description": "Sources directly referenced in the answer, often linked to specific facts or claims.",
     "name": "citations",
     "type": "array"
    },
    {
     "description": "List of web search queries automatically performed by Perplexity to generate the answer",
     "name": "web_search_query",
     "type": "array"
    },
    {
     "description": "Hyperlinks included in the response text, along with their position and linked words.",
     "name": "links_attached",
     "type": "array"
    }
   ]
  }
 },
 "domain": "perplexity.ai",
 "id": "gd_m7dhdot1vw9a7gc1n",
 "name": "Perplexity Search"
}
