You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] WebFetch and WebSearch in plan mode plus scratchpad downloads #1247
Plan mode in the Inference Gateway CLI now allows the web tools. Previously WebFetch and WebSearch were disabled in plan mode, so the agent could only reach the web through a read-only subagent (tracked in inference-gateway/cli#1880). The change landed in inference-gateway/cli#1884, which already updates the in-repo docs: the plan-mode tool list in docs/plan-mode.md (intro and "What the model is told to do"), the plan-mode note in docs/tools-reference.md, and the plan guidance in config/reminders.go.
One behavior change needs doc coverage beyond the PR: in plan mode a WebFetch call with download=true (or a binary response) saves the file into the plan-mode scratchpad (~/.infer/projects/<project-slug>/tmp/scratchpad) instead of the per-session artifacts directory.
Documentation covers the WebFetch scratchpad redirect in plan mode (downloads and binary responses), distinct from the regular session artifacts directory
Any site copy derived from plan-mode tool lists is checked for the same stale claim
The CLI page (cli.md) now documents the plan-mode behavior that landed in cli#1884, in five spots:
Agent Modes table - the Plan row lists WebFetch, WebSearch alongside the other available tools (criterion 1)
Plan Mode intro - states the web tools are available for online research and that a WebFetch call with download=true, or one returning a binary response, saves into the scratchpad instead of the session artifacts directory (criteria 1 and 2)
The scratchpad - new "Receives WebFetch downloads" bullet making the redirect vs the per-session artifacts directory explicit (criterion 2)
WebFetch tool section - the download parameter note now calls out the plan-mode scratchpad redirect (criterion 2)
Artifacts directory section - the WebFetch bullet notes the plan-mode exception (criterion 2)
For criterion 3 I swept the site for derived plan-mode tool copy: the /tools view bullet makes no web-tools claim, "MCP tools are hidden in plan mode" is still accurate, plan-mode subagents staying read-only is unchanged, and public/llms.txt contains no plan-mode tool copy - no other stale claims found.
Validation:bun run lint:md, bun run format:check, and bun run build pass locally; all PR checks pass (Lint, Build, Docs drift, CodeQL, Deploy preview). Roadmap board item moved In progress, then to QA.
Skipped / risks: I left the stale-looking /tools bullet ("Plan mode hides mutating tools (Write, Edit, Delete, Bash), showing only read-only tools") untouched since it makes no web-tools claim and I cannot verify the TUI's actual filter behavior from this repo - if it is wrong it predates this issue and deserves a separate look. Also left "the built-in plan-mode guidance names the scratchpad..." wording as it remains accurate after cli#1884.
All work is complete. Final summary for issue #1247:
The CLI docs page (cli.md) now documents the plan-mode behavior from cli#1884. Commit d2fc552 on fix/issue-1247, with all five coverage points plus a copy sweep:
Agent Modes table (criterion 1) - the Plan row's tool list now includes WebFetch and WebSearch instead of omitting them.
Plan Mode intro (criteria 1 and 2) - states the web tools are available for online research, and that a WebFetch call with download=true (or one returning a binary response) saves the file into the scratchpad, not the session artifacts directory.
The scratchpad (criterion 2) - new "Receives WebFetch downloads" bullet, making the redirect distinct from the per-session artifacts directory.
WebFetch tool section (criterion 2) - the download parameter note now names the plan-mode scratchpad redirect.
Artifacts directory section (criterion 2) - the WebFetch bullet notes the plan-mode exception.
Copy sweep (criterion 3) - checked the /tools view bullet (no web-tools claim; its mutating-tools wording is a pre-existing separate concern), MCP-hidden-in-plan-mode (still accurate), plan-mode subagents read-only (unchanged), and public/llms.txt (no plan-mode tool copy). No other stale claims found.
Validation:bun run lint:md, bun run format:check, bun run build all pass locally; every PR check is green (Lint, Build, Docs drift, CodeQL, Analyze, Deploy preview). Roadmap board item went In progress at start and is on QA now.
Skipped or worth knowing: I left the /tools bullet's "Plan mode hides mutating tools (Write, Edit, Delete, Bash), showing only read-only tools" wording alone - it makes no web-tools claim, I cannot verify the TUI's actual hiding behavior from the docs repo, and it predates this issue - if it turns out stale it deserves its own fix.
Activity
edenreich commentedon Nov 16, 2026
@infer can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Nov 16, 2026
Model:
ollama_cloud/glm-5.3-flash· Action:v0.59.9· CLI:v0.262.0· View JobTodos
Pull Request
#1248
✅ Infer Result: Success
Done. All work is committed, pushed, checked green, and PR #1248 is ready for review.
What changed (PR #1248)
The CLI page (
cli.md) now documents the plan-mode behavior that landed in cli#1884, in five spots:WebFetch, WebSearchalongside the other available tools (criterion 1)WebFetchcall withdownload=true, or one returning a binary response, saves into the scratchpad instead of the session artifacts directory (criteria 1 and 2)downloadparameter note now calls out the plan-mode scratchpad redirect (criterion 2)For criterion 3 I swept the site for derived plan-mode tool copy: the
/toolsview bullet makes no web-tools claim, "MCP tools are hidden in plan mode" is still accurate, plan-mode subagents staying read-only is unchanged, andpublic/llms.txtcontains no plan-mode tool copy - no other stale claims found.Validation:
bun run lint:md,bun run format:check, andbun run buildpass locally; all PR checks pass (Lint, Build, Docs drift, CodeQL, Deploy preview). Roadmap board item moved In progress, then to QA.Skipped / risks: I left the stale-looking
/toolsbullet ("Plan mode hides mutating tools (Write, Edit, Delete, Bash), showing only read-only tools") untouched since it makes no web-tools claim and I cannot verify the TUI's actual filter behavior from this repo - if it is wrong it predates this issue and deserves a separate look. Also left "the built-in plan-mode guidance names the scratchpad..." wording as it remains accurate after cli#1884.All work is complete. Final summary for issue #1247:
Done - PR #1248 (ready for review)
The CLI docs page (
cli.md) now documents the plan-mode behavior from cli#1884. Commitd2fc552onfix/issue-1247, with all five coverage points plus a copy sweep:WebFetchandWebSearchinstead of omitting them.WebFetchcall withdownload=true(or one returning a binary response) saves the file into the scratchpad, not the session artifacts directory.downloadparameter note now names the plan-mode scratchpad redirect./toolsview bullet (no web-tools claim; its mutating-tools wording is a pre-existing separate concern), MCP-hidden-in-plan-mode (still accurate), plan-mode subagents read-only (unchanged), andpublic/llms.txt(no plan-mode tool copy). No other stale claims found.Validation:
bun run lint:md,bun run format:check,bun run buildall pass locally; every PR check is green (Lint, Build, Docs drift, CodeQL, Analyze, Deploy preview). Roadmap board item went In progress at start and is on QA now.Skipped or worth knowing: I left the
/toolsbullet's "Plan mode hides mutating tools (Write, Edit, Delete, Bash), showing only read-only tools" wording alone - it makes no web-tools claim, I cannot verify the TUI's actual hiding behavior from the docs repo, and it predates this issue - if it turns out stale it deserves its own fix.Model:
ollama_cloud/glm-5.3-flash· Action:v0.59.9· CLI:v0.262.0· Exit Code:0· Duration: 3m 45sTokens: 1,732,175 in · 17,717 out · 1,749,892 total (36 requests)
Tool calls: 48 total · 100% success rate
Traces
Stats
Triggered by edenreich · Infer Action · OSS
fix(tools): allow WebFetch and WebSearch in plan mode (#1884)
inference-gateway-releaser commentedon Nov 17, 2026
🎉 This issue has been resolved in version 0.9.27 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀