search:web

Searches the web through the connection answering the search:web capability, so a workflow states the contract it needs and the connection decides which vendor serves it.

Options

NameTypeDescription
querystringThe search query
connectionstringThe connection id to search with; empty resolves the only connection answering search:web
pageintThe result page number to fetch (0-based)
rawboolAlso return the vendor's own answer boxes, knowledge panels and response body under raw, which ties this step to the vendor it was written against

Outputs

NameTypeDescription
providerstringThe vendor that answered the search
querystringThe original search query
results[]MatchThe organic search result list, ranked best first
  ↳ titlestringThe result title
  ↳ urlstringThe result address
  ↳ snippetstringThe result summary text
  ↳ rankintThe result position, starting at 1
outputstringSearch results rendered as markdown, useful for attaching to LLM prompts
rawRawWebThe vendor's own extras, present only when the step asked for them
  ↳ enginestringThe search engine the vendor ran the query on
  ↳ parametersmap[string]stringVendor-specific search parameters echoed back
  ↳ related[]RelatedSearchRelated search suggestions
    ↳ querystring
    ↳ urlstring
  ↳ knowledgeKnowledgePanelThe knowledge panel or infobox
    ↳ titlestring
    ↳ descriptionstring
    ↳ urlstring
    ↳ imagestring
    ↳ metadatamap[string]stringE.g., "Born": "1961", "Author": "XYZ"
  ↳ answerInstantAnswerThe direct answer or featured snippet
    ↳ textstring
    ↳ sourcestring
    ↳ urlstring
  ↳ total_resultsintEstimated total number of results
  ↳ creditsintNumber of vendor credits consumed
  ↳ next_page_tokenstringToken to fetch the next page of results
  ↳ responseanyThe vendor's own response body