Tool ID:
contextdev_post_web_searchRun this action
Use the TypeScript SDK for one call. Usectx.tools.execute(...) inside a Play for durable calls, scheduled calls, or CSV processing.
import { Deepline } from 'deepline';
const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
'contextdev_post_web_search',
{
"query": "software companies hiring engineers"
},
);
console.log(result.toolResponse.raw);
CLI
deepline run contextdev_post_web_search --input '{
"query": "software companies hiring engineers"
}'
Example response
The static output schema lacks the details for a reliable example. Usedeepline describe contextdev_post_web_search --json for the complete live contract.
Input reference
Search the web and optionally return page content or relevant passages with each result.| Name | Type | Required | Default | Details |
|---|---|---|---|---|
payload.query | string | Yes | — | Search query. Accepts natural language as well as Google-style search operators such as site:, -site:, inurl:, intitle:, quoted phrases, and OR. Minimum length: 1. Maximum length: 500. |
payload.numResults | integer | No | 10 | Number of results to request and return (1–100). Defaults to 10. Minimum: 1. Maximum: 100. |
payload.includeDomains | array | No | — | Allowlist — only return results from these domains. Up to 100 domains. Example: [“arxiv.org”, “github.com”]. Maximum items: 100. |
payload.excludeDomains | array | No | — | Blocklist — drop results from these domains. Up to 100 domains. Example: [“pinterest.com”, “reddit.com”]. Maximum items: 100. |
payload.freshness | "last_24_hours" | "last_week" | "last_month" | "last_year" | No | — | Restrict results to content published within this window. Allowed: last_24_hours, last_week, last_month, last_year. |
payload.country | "af" | "al" | "dz" | "as" | "ad" | "ao" | "ai" | "aq" | "ag" | "ar" | "am" | "aw" | "au" | "at" | "az" | "bs" | "bh" | "bd" | "bb" | "by" | "be" | "bz" | "bj" | "bm" | "bt" | "bo" | "ba" | "bw" | "bv" | "br" | "io" | "bn" | "bg" | "bf" | "bi" | "kh" | "cm" | "ca" | "cv" | "ky" | "cf" | "td" | "cl" | "cn" | "cx" | "cc" | "co" | "km" | "cg" | "cd" | "ck" | "cr" | "ci" | "hr" | "cu" | "cy" | "cz" | "dk" | "dj" | "dm" | "do" | "ec" | "eg" | "sv" | "gq" | "er" | "ee" | "et" | "fk" | "fo" | "fj" | "fi" | "fr" | "gf" | "pf" | "tf" | "ga" | "gm" | "ge" | "de" | "gh" | "gi" | "gr" | "gl" | "gd" | "gp" | "gu" | "gt" | "gn" | "gw" | "gy" | "ht" | "hm" | "va" | "hn" | "hk" | "hu" | "is" | "in" | "id" | "ir" | "iq" | "ie" | "il" | "it" | "jm" | "jp" | "jo" | "kz" | "ke" | "ki" | "kp" | "kr" | "kw" | "kg" | "la" | "lv" | "lb" | "ls" | "lr" | "ly" | "li" | "lt" | "lu" | "mo" | "mk" | "mg" | "mw" | "my" | "mv" | "ml" | "mt" | "mh" | "mq" | "mr" | "mu" | "yt" | "mx" | "fm" | "md" | "mc" | "mn" | "ms" | "ma" | "mz" | "mm" | "na" | "nr" | "np" | "nl" | "an" | "nc" | "nz" | "ni" | "ne" | "ng" | "nu" | "nf" | "mp" | "no" | "om" | "pk" | "pw" | "ps" | "pa" | "pg" | "py" | "pe" | "ph" | "pn" | "pl" | "pt" | "pr" | "qa" | "re" | "ro" | "ru" | "rw" | "sh" | "kn" | "lc" | "pm" | "vc" | "ws" | "sm" | "st" | "sa" | "sn" | "rs" | "sc" | "sl" | "sg" | "sk" | "si" | "sb" | "so" | "za" | "gs" | "es" | "lk" | "sd" | "sr" | "sj" | "sz" | "se" | "ch" | "sy" | "tw" | "tj" | "tz" | "th" | "tl" | "tg" | "tk" | "to" | "tt" | "tn" | "tr" | "tm" | "tc" | "tv" | "ug" | "ua" | "ae" | "gb" | "us" | "um" | "uy" | "uz" | "vu" | "ve" | "vn" | "vg" | "vi" | "wf" | "eh" | "ye" | "zm" | "zw" | No | — | Two-letter ISO 3166-1 alpha-2 country code to localize results to a specific country (maps to Google’s gl parameter). Example: “us”, “gb”, “de”. Allowed: af, al, dz, as, ad, ao, ai, aq, ag, ar, am, aw, au, at, az, bs, bh, bd, bb, by, be, bz, bj, bm, bt, bo, ba, bw, bv, br, io, bn, bg, bf, bi, kh, cm, ca, cv, ky, cf, td, cl, cn, cx, cc, co, km, cg, cd, ck, cr, ci, hr, cu, cy, cz, See the live schema for the complete constraint. |
payload.languages | "all" | array | No | "all" | Languages to return results in, as BCP 47 language codes such as en or de, or “all” for any language. Defaults to “all”. Example: [“en”, “de”]. |
payload.queryFanout | boolean | No | — | Currently has no effect. |
payload.markdownOptions | object | No | — | Inline Markdown scraping for each result. Set enabled: true to activate. |
payload.highlightsOptions | object | No | — | Passages from each result page that are relevant to the query. Pages are read with the markdownOptions settings. |
payload.descriptionMaxCharacters | integer | No | null | Maximum length of each result’s description, in characters. Minimum: 0. |
payload.timeoutOpts | object | No | — | Request deadline and what to return when it passes. |
payload.zdr | "enabled" | "disabled" | No | "disabled" | enabled turns on zero data retention. Returns 403 ZDR_NOT_ENABLED unless your organization has ZDR. Allowed: enabled, disabled. |
payload.tags | array | No | — | Labels for filtering usage in the dashboard. Maximum items: 20. |
payload.timeoutMS | integer | No | — | Deprecated: use timeoutOpts.milliseconds. Request deadline in milliseconds. sent as timeoutOpts with the “fail” behavior. Minimum: 1000. Maximum: 300000. |
This input schema is too large for an inline display. Read the complete live contract with
deepline describe contextdev_post_web_search --json.Output reference
| Name | Type | Required | Default | Details |
|---|---|---|---|---|
result.data | object | Yes | — | — |
result.data.partial | boolean | No | — | — |
result.data.results | array | Yes | — | — |
result.data.results[].url | string | Yes | — | — |
result.data.results[].title | string | Yes | — | — |
result.data.results[].description | string | Yes | — | — |
result.data.results[].relevance | "high" | "medium" | "low" | Yes | — | Allowed: high, medium, low. |
result.data.results[].markdown | object | Yes | — | — |
result.data.results[].markdown.finalDOMState | "loaded" | "still-loading" | No | — | Allowed: loaded, still-loading. |
result.data.results[].markdown.markdown | string | null | Yes | — | — |
result.data.results[].markdown.code | "SUCCESS" | "NOT_REQUESTED" | "TIMEOUT" | "CONTENT_TOO_LARGE" | "WEBSITE_ACCESS_ERROR" | "WEBSITE_BLOCKED" | "WEBSITE_NOT_FOUND" | "ERROR" | Yes | — | Allowed: SUCCESS, NOT_REQUESTED, TIMEOUT, CONTENT_TOO_LARGE, WEBSITE_ACCESS_ERROR, WEBSITE_BLOCKED, WEBSITE_NOT_FOUND, ERROR. |
result.data.results[].markdown.message | string | No | — | — |
result.data.results[].highlights | object | Yes | — | — |
result.data.results[].highlights.highlights | array | null | Yes | — | — |
result.data.results[].highlights.code | "SUCCESS" | "NOT_REQUESTED" | "TIMEOUT" | "CONTENT_TOO_LARGE" | "WEBSITE_ACCESS_ERROR" | "WEBSITE_BLOCKED" | "WEBSITE_NOT_FOUND" | "ERROR" | Yes | — | Allowed: SUCCESS, NOT_REQUESTED, TIMEOUT, CONTENT_TOO_LARGE, WEBSITE_ACCESS_ERROR, WEBSITE_BLOCKED, WEBSITE_NOT_FOUND, ERROR. |
result.data.results[].highlights.message | string | No | — | — |
result.data.query | string | Yes | — | — |
result.data.cache_metadata | object | Yes | — | — |
result.data.cache_metadata.status | "hit" | "miss" | "zdr" | Yes | — | Allowed: hit, miss, zdr. |
result.data.cache_metadata.age_ms | integer | Yes | — | Minimum: 0. |
result.data.key_metadata | object | No | — | — |
result.data.request_id | string | Yes | — | Format: uuid. |
result.meta | object | No | — | — |
Deepline cost
- Pricing model:
provider_usage(provider usage). - Estimated Deepline credits:
0.01per pricing unit.