[Bug] Agent tool doesn't inherit deferred tools from parent agent

Resolved 💬 3 comments Opened Apr 20, 2026 by hashhar Closed Apr 24, 2026

Bug Description
"Agents spawned via the Agent tool don't have access to deferred tools (like WebSearch). The agent has no indication these tools exist and no guidance to use ToolSearch to load them, so delegating web search tasks to agents silently fails."

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.98
  • Feedback ID: fefe13e9-4110-4ee0-ad5f-adbb0902fb13

Errors

[{"error":"Error: Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.\n    at cj (/$bunfs/root/src/entrypoints/cli.js:2883:9430)\n    at QQ1 (/$bunfs/root/src/entrypoints/cli.js:2883:13850)\n    at M67 (/$bunfs/root/src/entrypoints/cli.js:2883:14486)\n    at W15 (/$bunfs/root/src/entrypoints/cli.js:5242:13343)\n    at R15 (/$bunfs/root/src/entrypoints/cli.js:5242:13420)\n    at n2 (/$bunfs/root/src/entrypoints/cli.js:472:26073)\n    at useState (/$bunfs/root/src/entrypoints/cli.js:472:104913)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:463:8079)\n    at Sr_ (/$bunfs/root/src/entrypoints/cli.js:5242:13380)\n    at IZ7 (/$bunfs/root/src/entrypoints/cli.js:6032:20968)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:16607:1339)","timestamp":"2026-04-20T17:23:11.839Z"},{"error":"Error: Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.\n    at cj (/$bunfs/root/src/entrypoints/cli.js:2883:9430)\n    at QQ1 (/$bunfs/root/src/entrypoints/cli.js:2883:13850)\n    at M67 (/$bunfs/root/src/entrypoints/cli.js:2883:14486)\n    at W15 (/$bunfs/root/src/entrypoints/cli.js:5242:13343)\n    at R15 (/$bunfs/root/src/entrypoints/cli.js:5242:13420)\n    at n2 (/$bunfs/root/src/entrypoints/cli.js:472:26073)\n    at useState (/$bunfs/root/src/entrypoints/cli.js:472:104913)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:463:8079)\n    at Sr_ (/$bunfs/root/src/entrypoints/cli.js:5242:13380)\n    at hZ7 (/$bunfs/root/src/entrypoints/cli.js:6032:14287)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:16607:1339)","timestamp":"2026-04-20T17:23:11.839Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T17:24:10.268Z"},{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: \"pyright-langserver\"\n    at start (/$bunfs/root/src/entrypoints/cli.js:1540:22340)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T20:49:15.854Z"},{"error":"Error\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/src/entrypoints/cli.js:1540:20876)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1540:24859)\n    at $ (/$bunfs/root/src/entrypoints/cli.js:1540:29930)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1540:30267)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:1540:30813)\n    at call (/$bunfs/root/src/entrypoints/cli.js:2124:1357)\n    at processTicksAndRejections (unknown:7:39)","timestamp":"2026-04-20T20:49:15.854Z"},{"error":"Error: Failed to start LSP server for file /Users/ashhar.hasan/code/src/github.com/trinodb/trino-python-client/.github/scripts/update_python_versions.py: Executable not found in $PATH: \"pyright-langserver\"\n    at $ (/$bunfs/root/src/entrypoints/cli.js:1540:29956)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T20:49:15.854Z"},{"error":"Error\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/src/entrypoints/cli.js:1540:20876)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1540:24859)\n    at $ (/$bunfs/root/src/entrypoints/cli.js:1540:29930)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1540:30267)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:1540:30813)\n    at call (/$bunfs/root/src/entrypoints/cli.js:2124:1357)\n    at processTicksAndRejections (unknown:7:39)","timestamp":"2026-04-20T20:49:15.854Z"},{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: \"pyright-langserver\"\n    at start (/$bunfs/root/src/entrypoints/cli.js:1540:22340)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T20:53:58.497Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunf…

Note: Content was truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗