microsoft / microsoft/vscode-websearchforcopilot

128 Tools Error

Open
#52 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
65
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Type: Bug

I only have 60 tools enabled but I'm getting the error "Cannot have more than 128 tools per request."

Extension version: 0.1.4
VS Code version: Code 1.104.2 (Universal) (e3a5acfb517a443235981655413d566533107e92, 2025-09-24T11:21:37.073Z)
OS version: Darwin arm64 25.0.0
Modes:

System Info
Item Value
CPUs Apple M3 (8 x 2400)
GPU Status 2d_canvas: enabled
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 2, 3, 3
Memory (System) 16.00GB (0.08GB free)
Process Argv --crash-reporter-id 88d51516-74f9-4c11-a084-01168884a741
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
pythonvspyt551:31249599
binariesv615:30325510
f8hc8238:30694864
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
6518g693:31334701
aj953862:31281341
cs4_fixed:31391938
nes-set-on:31340697
6abeh943:31336334
envsactivate1:31353494
aa_c:31379599
0cj2b977:31352657
0574c672:31362109
asdad:31365766
cloudbuttont:31379625
todos-1:31390405
multireplacestringcontrol:31393296
control_gpt5applypatchexclusively:31392057
3efgi100_wstrepl:31382709
metis-embeddings:31388492
trigger-command-fix:31379601
auto_model_enabled:31385282
use-responses-api:31390855
copilot-gpt-5-mini:31391796

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the error with the extension's reported 60 enabled tools and inspect how the request assembles its tool list. Trace why the request exceeds 128 tools, then verify that the same configuration no longer produces the reported limit error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.