Repository navigation
Feature request: allProjects on t3_thread_search #40709
nacusiancii
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem: Called from inside a thread,
t3_thread_searchonly searches the current project whenprojectIdis left out. Unliket3_thread_list, it has noallProjectsoption. To find a thread in another project by its message text, an agent has to callt3_project_listand then runt3_thread_searchonce 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'sprojectIdfinds it, and so doest3_thread_list({allProjects: true, titleContains: ...}). The list tool only matches titles, though, so it can't search message text.Ask: Add
allProjects?: booleantot3_thread_search, the same as ont3_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 theprojectIdsearched, so agents know they didn't search everywhere.All reactions