ask_websearch
Research current facts, versions, pricing, releases, and open-source intelligence with live web search, returning a sourced, cited answer.
Instructions
OPT-IN web-search / OSINT research agent. Unlike every other ask_* tool (which is toolless and cannot browse), this one runs a model WITH live web search to research a question and return a sourced, cited answer — use it for current/'latest' facts, version/pricing/release lookups, who/what-is research, and open-source intelligence gathering. Pick the model with model: grok (grok-4.6 live search, the default — strong for current events, via the local grok CLI), a Claude model on your OAuth session — sonnet (claude-sonnet-5), opus48 (claude-opus-4-8), opus5, or fable — using native WebSearch/WebFetch, or gemini via the local agy CLI. All run on flat-plan sources (no per-token billing). Put any code/artifact the research is ABOUT in context. Returns a findings summary followed by a Sources: list. DISABLED by default: the operator must set ASK_FABLE_ALLOW_WEBSEARCH=1 (returns {"status":"disabled",...} otherwise). On grok and Claude the search-only boundary is a real tool gate; gemini is search-only for a different reason — agy's own headless permission policy denies page fetch, shell and file tools, and a denial aborts the turn, so that backend is told to use search_web only (use grok or a Claude model when the task needs page content). Requires the grok or agy CLI (for those models) or the Claude OAuth session (for the Claude models). Refuses tasks whose aim is genuinely harmful (attack development, de-anonymizing or surveilling a private individual); legitimate research on software, companies, CVEs, and public events is answered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Which search-capable model runs the research. `grok` (grok-4.6 live search) is the default; `sonnet` / `opus48` / `opus5` / `fable` use Claude native WebSearch over the OAuth session; `gemini` uses the local `agy` CLI and is SEARCH-ONLY — agy's headless policy denies page fetch/shell/file tools and a denial aborts the turn, so that backend is told to use search_web only. Omit to use the ASK_FABLE_WEBSEARCH_MODEL default (grok). | |
| context | No | Optional code, artifact, URL, or entity the research is ABOUT (e.g. a library, error text, CVE id, or organization). | |
| trusted | No | Operator-authorized. When true, the prohibited-use denylist runs in log-only mode: security vocabulary in the question AND in `context` is audited but does not block. Use for legitimate security-engineering work (PoC analysis, CVE research, binary hardening review) where the ask genuinely needs security terms. Takes effect ONLY when the operator has set ASK_FABLE_ALLOW_TRUSTED (env or config); otherwise the flag is ignored and the denylist still applies. | |
| question | Yes | A web-search / OSINT research task — a question to research on the LIVE web (current facts, versions/pricing/releases, who/what-is, open-source intel). | |
| context_ref | No | Key(s) of context saved with `context(op="write", …)` to pull in and prepend to `context` — paste a big context ONCE, reference it by key here. Missing keys are reported, not fatal. |