You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 383a094
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): Copilot threads load optional T3 tools on demand
The T3 MCP server listed all 68 tools to every client. Copilot over ACP has
no tool search of its own, so every request carried every schema (about 25k
tokens on a fresh thread).
Copilot sessions now send `t3-tool-exposure: deferred` with their MCP
credential. For such a session, tools/list returns orchestrator_capabilities,
delegate_task, task_status and a new tool_search. tool_search matches tools by
name and description, lists the matches to that provider session from then
on, and sends notifications/tools/list_changed, which Copilot re-lists on
within the same turn. Calls are never gated. Other clients list exactly what
they did before, without tool_search.
Fixes#34233
AI-assisted; verified with the tests and tools listed above.
"Load T3 Code tools you do not have yet, then call them by name. Search by name or purpose: threads (t3_thread_*), projects (t3_project_*), worktrees, preview_* browser, device_*, html_preview/html_render, schedule_task, pull requests and guides, attachments, request_secret, environment links. Exact names work too.",
0 commit comments