Skip to content

Implement virtual tools feature to allow GitHub Copilot models to run with more than 128 tools #2513

Closed as not planned

Description

@thesobercoder

Currently, GitHub Copilot models are restricted to a maximum of 128 tools configured. If you have more than 128 tools configured in OpenCode, then the API calls fail. To overcome this limitation, the VSCode team implemented a virtual tool concept that automatically activates them on demand. This is a proposal to implement something similar in OpenCode so that configuring more than 128 tools in OpenCode with GitHub Copilot does not fail with an API call.

Reference from VSCode Team -

Activity

  1. itse4elhaam commented on Nov 29, 2025

    @itse4elhaam

    Facing this issue as well:

    #4909


    Is there a fix planned or a work around available?

    EDIT: check this: #4909 (comment)

  2. rekram1-node commented on Nov 29, 2025

    @rekram1-node
    Collaborator

    This isn't a super high priority for us currently but we will prolly have something for that eventually.

    I suppose for the time being we can implement some warning or error toast specifically for copilot

  3. shivsant commented on Jan 1, 2026

    @shivsant

    This feature will really help if you can add a virtual tool for copilot!!

  4. thdxr commented on Mar 25, 2026

    @thdxr
    Member

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  5. thesobercoder commented on Mar 30, 2026

    @thesobercoder
    Author

    This is still a genuine issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions