Skip to content

Feature request: allProjects on t3_thread_search #40704

Closed as not planned
Closed as not planned

Description

@nacusiancii

Problem: Called from inside a thread, t3_thread_search only searches the current project when projectId is left out. Unlike t3_thread_list, it has no allProjects option. To find a thread in another project by its message text, an agent has to call t3_project_list and then run t3_thread_search once per project. With N projects that's N+1 calls, and agents easily miss that the default is scoped and decide the thread doesn't exist.

Repro: From a thread in project A, call t3_thread_search({query: "<a phrase in a project-B thread's title>"}). Only project A threads come back. Adding project B's projectId finds it, and so does t3_thread_list({allProjects: true, titleContains: ...}). The list tool only matches titles, though, so it can't search message text.

Ask: Add allProjects?: boolean to t3_thread_search, the same as on t3_thread_list. When it's true, ignore the current-thread scoping and search every project, ranked the same way. Optionally, say in each result that it's scoped, for example by echoing the projectId searched, so agents know they didn't search everywhere.

Activity

  1. juliusmarminge commented on Nov 22, 2026

    @juliusmarminge
    Member

    Thanks for writing this up. It asks for new behaviour rather than reporting a defect, so it does not belong in the bug tracker and I'm closing it as not planned here. Feature ideas are discussed in Discussions: please post it there.

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

Metadata

Metadata

Assignees

No one assigned

    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