[Bug]: Antigravity ACP drops the 8 T3 MCP tools >1,280B (incl. delegate_task & t3_thread_launch) without call_mcp_tool or T3_ACP_MCP_NODE fallback
Before submitting
- [x] I searched existing issues and did not find a duplicate. (Checked #36088, #36172, #37884, #37907, #37911 — all closed as
no-reprobecause they hypothesized a 50/60-tool count cap ordeferMcpToolsheader; below is the exact~1,280 Bper-tool schema cutoff measurement across all 73 tools plus whydeferMcpToolsalone cannot exposedelegate_task.) - [x] I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
A. Server-only reproduction on main (runs in Vitest with no antigravity binary required)
- Query
tools/liston T3'sMcpHttpServerand compute the minified JSON byte length of{ name, description, parameters: inputSchema }for each of the 73t3-codeMCP tools (the exact payloadantigravity-acpwrites to<appDataDir>/mcp/t3-code/<tool>.json):- 65 tools serialize to
<= 1,242 B(largest:create_threadsat1,242 B, because itstarget.optionsuses{}instead of a verboseanyOfunion). - 8 tools serialize to
>= 1,296 B:schedule_task:3,318 Bt3_thread_launch:2,611 Bdelegate_task:1,937 Bhtml_render:1,668 B(flat 4-property schema; pushed over1,280 Bsolely by its 1.2 KBdescription)preview_act:1,629 Bt3_project_update:1,541 Bpreview_open:1,521 Bpreview_navigate:1,296 B
- 65 tools serialize to
- In
apps/server/src/provider/Drivers/AntigravityDriver.ts, callinstance.orchestrationAdapter.openSession+ensureThreadafter registering an MCP provider session (as infactory/repro-37911f752c5e1d7):AntigravityDriver.makeRuntime(input)passesbaseEnv: processEnvironment(provider-level env only) toprepareAntigravityProfile(...), droppinginput.processEnvironment(T3CODE_THREAD_ID,T3_ACP_MCP_NODE,T3_ACP_MCP_ENTRYPOINT,T3_ACP_MCP_ENDPOINT,T3_ACP_MCP_AUTHORIZATION).
B. Live session verification (t3 v0.1.10-nightly.20261116.4761 + managed antigravity 1.5.9, Linux x64)
- Start a
full-accessthread on theAntigravityprovider (gemini-4-carbonorgemini-4-hydrogen). - Inspect
<T3CODE_HOME>/userdata/providers/antigravity/<id>/antigravity-acp/mcp/t3-code/*.jsonvs the model's<mcp_servers>prompt block anddefault_apifunction declarations.
Expected behavior
- Core orchestration and UI tools — especially
delegate_task,t3_thread_launch,html_render,preview_open,preview_navigate,preview_act,t3_project_update, andschedule_task— are callable from an Antigravity ACP thread (either directly as nativemcp_t3-code_*eager tools by keeping their serialized MCP schemas under Antigravity's~1,280 Beager threshold, and/or via the documentedacp-mcp-callfallback withinput.processEnvironmentpreserved).
Actual behavior
- All 73
<tool>.jsonfiles are written to<appDataDir>/mcp/t3-code/, proving T3's/mcpserver advertised all 73 tools — there is NO 50- or 60-tool count cap (65 tools load eagerly in a single session). - Exact
~1,280 Bper-tool cutoff insideantigravity-acp(1.5.9):- 100% of the 65 tools
<= 1,242 B(create_threads.json=1,242 Band below) are registered as nativemcp_t3-code_*tools under# t3-code -> Eager:. - 100% of the 8 tools
>= 1,296 B(preview_navigate1,296 Bthroughschedule_task3,318 B, includingdelegate_task1,937 Bandt3_thread_launch2,611 B) are excluded fromEager:. - Inside
antigravity(third_party/jetski/cortex/core/tools/call_mcp_tool.go+McpToolConfig.enable_lazy_load), whent3-codeis injected dynamically via ACPsession/newmcpServers(acp.NewSessionParams.mcpServers, which only supports{ name, type, url, headers }and cannot carrymcp_config.json'stools.eager),enable_lazy_loadis not active: neither aLazy:list under# t3-codenorcall_mcp_toolindefault_apiis registered (even though Antigravity's static<mcp_servers>prompt preamble still tells the model to usecall_mcp_toolfor lazy tools). - Note: writing a user
config/mcp_config.jsonwithtools.eageris also blocked by T3 itself (AntigravityTextGenerationrejects profiles with non-emptymcp_config.json). - Note on
deferMcpTools: true: simply enablingt3-tool-exposure: deferredis not sufficient to exposedelegate_taskas a native tool in Antigravity ACP, becausedelegate_task(1,937 B) still exceeds Antigravity's~1,280 Bper-tool eager schema limit when listed.
- 100% of the 65 tools
- Simultaneously, the documented
acp-mcp-callCLI fallback fails becauseAntigravityDriver.makeRuntimedropsinput.processEnvironment, leavingT3CODE_THREAD_IDandT3_ACP_MCP_NODEunset in the Antigravity shell.
Proposed fix in apps/server
- Compact the MCP
tools/listschemas (globally or when servingantigravity-acp) so core tools stay<= 1,200 B:- For
delegate_task(1,937 B): typetarget.optionsas{}(matchingcreate_threads, which is whycreate_threadsis1,242 Band already loads eagerly!) and trim parameter descriptions -> drops well below1,200 Band makesmcp_t3-code_delegate_tasknatively eager in Antigravity ACP with zero functionality loss. - Similarly trim verbose descriptions on
html_render(1,668 B, move CSS theme instructions to<t3_code_instructions>),preview_navigate(1,296 B, only54 Bover1,242 B),preview_open(1,521 B),preview_act(1,629 B),t3_project_update(1,541 B), andt3_thread_launch(2,611 B). - Add a lightweight unit assertion in
apps/server/src/mcp/guarding serialized{ name, description, parameters }byte length (<= 1,200 B) for tools that must remain eager in Antigravity ACP.
- For
- Preserve per-session
input.processEnvironmentinAntigravityDriver.makeRuntime:- Merge
baseEnv: { ...processEnvironment, ...input.processEnvironment }when callingprepareAntigravityProfile/buildAntigravityAcpSpawnInputsoT3CODE_THREAD_IDandT3_ACP_MCP_NODEare present foracp-mcp-call(coveringschedule_taskor any future large tool).
- Merge
Impact
Major degradation or frequent failure
Version or commit
t3 v0.1.10-nightly.20261116.4761
Environment
Linux x64, T3-managed Antigravity ACP v1.5.9 (Yazi / gemini-4-carbon & gemini-4-hydrogen, full-access)
Logs or stack traces
Top 15 `<appDataDir>/mcp/t3-code/<tool>.json` sizes vs Antigravity Eager registration (73 total):
3318 B eager=False schedule_task
2611 B eager=False t3_thread_launch
1937 B eager=False delegate_task
1668 B eager=False html_render
1629 B eager=False preview_act
1541 B eager=False t3_project_update
1521 B eager=False preview_open
1296 B eager=False preview_navigate
---- ~1,280 B per-tool eager cutoff in antigravity-acp 1.5.9 ----
1242 B eager=True create_threads
1171 B eager=True t3_environment_link
1163 B eager=True t3_project_create
975 B eager=True request_secret
942 B eager=True t3_thread_read
938 B eager=True t3_theme_set
932 B eager=True preview_resize
(...all remaining 58 tools <= 902 B are eager=True; `call_mcp_tool` is absent from default_api)
Workaround
Only mcp_t3-code_create_threads (1,242 B, which barely fits under the ~1,280 B cutoff because its target.options schema is {}) is callable, which spawns top-level threads inheriting the parent worktree instead of isolated delegate_task child tasks.
Data point from 0.1.11-nightly.20261117.4851 + Antigravity ACP Server 1.5.10 (acpRegistry_google_antigravity, Windows x64): the per-tool eager schema cutoff appears to have tightened from ~1,280 B (8 tools dropped in 1.5.9) to ~830 B, now dropping 19 of 82 t3-code MCP tools (still writing all 82 .json files under .gemini/antigravity-cli/mcp/t3-code/, with call_mcp_tool rejecting the missing 19 as tool <name> is not enabled for server t3-code).
Exact boundary observed across all 82 schemas (sorted strictly by size, independent of tools/list order — e.g. preview_open at #3 is dropped while html_preview at #82 is loaded):
- 63 loaded (
<= 819 B, total25,698 B): largest ist3_thread_send(819 B),t3_worktree_handoff(810 B),t3_thread_transfer(802 B). - 19 dropped (
>= 847 B):847 Bt3_environment_preferences_update851 Bt3_queue877 Bt3_thread_send_attachments902 Bpreview_snapshot932 Bpreview_resize939 Bt3_theme_set942 Bt3_thread_read975 Brequest_secret1,163 Bt3_project_create1,171 Bt3_environment_link1,242 Bcreate_threads- plus the 8
>= 1,296 Btools already listed above (preview_navigate,preview_open,t3_project_update,preview_act,html_render,delegate_task,t3_thread_launch,schedule_task).
So compacting schemas only to <= 1,200 B would still leave 10+ core tools (t3_thread_read, t3_project_create, preview_snapshot, t3_queue, request_secret, etc.) dropped on 1.5.10.
I tried to reproduce this on the current build and could not.
Commit origin/main 66235c7f2a. Started an isolated dev server with T3CODE_DEV_SEED=0 and GOOGLE_GEMINI_BASE_URL set to the hub. In Settings > Providers > Add provider, added Antigravity with sign-in method 'Gemini API key' and a placeholder key; it picked up agy 1.5.12 and showed 'Authenticated · Gemini API key' with 8 models. Added a scratch git project and started a thread with t3 thread start --provider <antigravity instance> --model gemini-4-hydrogen --wait. Results: (1) env in the agent's shell showed T3CODE_THREAD_ID, T3_ACP_MCP_NODE and T3_ACP_MCP_ENDPOINT set (fixed on main by #36495, c67deb12dd, merged 2026-11-18). Antigravity 1.5.9 and 1.5.10 were not tested: their download URLs include a build number not derivable from the version.
Closing as not planned. If it still happens for you, reply with the exact steps and the version you are on and it will be looked at again.
Reopening. The check above ran in a different setup from the report (an API key instead of a Google account, and Antigravity 1.5.12), so not seeing the bug there does not show it is gone.
Additional data point on Windows x64 with Antigravity (Google account sign-in), measured right before and right after updating T3 Code on the same thread:
1. Native eager mcp_t3-code_* tools still drop — and the cutoff tightened as tool count grew
- **Before update (
Root cause + why the clean-profile repro didn't trigger it
This is not a fixed per-tool byte limit — it's Antigravity's shared customization context budget truncating skills + MCP tools together, largest items first.
Per Antigravity's built-in agy-customizations/docs/rules.md:
Always-on and global rules share a dedicated 20,000-token rules budget (
defaultRulesBudget), separate from the customization budget for skills, workflows, subagents, and MCP tools.
When total skills + MCP tools exceeds that shared customization budget, Antigravity's customizations.TruncateFromBreakdown / sortTruncatableItems sorts all skills and MCP tools in one combined pool by size (largest first) and drops the biggest items completely (rather than moving them to Lazy: + call_mcp_tool):
- Why the isolated clean-profile test didn't repro: With 0 user skills, all ~74–80
t3-codeMCP tool schemas (~50 KB / ~12.4k tokens) fit comfortably inside the customization budget. - Why real users hit it — and why the "cutoff" shifts across versions/machines: Every user skill in
~/.gemini/config/skills/(including its ~150-char full profile path + YAML frontmatterdescription) shares the same budget ast3-code's MCP tools.- Observed on T3 Code
0.1.10/agy cli-1.5.11(Windows x64, Google account) with 70 user skills (~47.1 KB) + 74t3-codeMCP tools (~49.7 KB) = ~97 KB combined: - Both categories hit the exact same monotonic size boundary (~910 bytes):
- Kept: 60 user skills (largest ~884 B) + 59 MCP tools (
<= 902 B, largesthtml_previewat 902 B) - Dropped: the 10 largest user skills (
>= 912 B) and the 15 largestt3-codeMCP tools (>= 932 B:preview_resize932 B,t3_theme_set938 B,t3_thread_read942 B,request_secret975 B,t3_project_create1,163 B,t3_environment_link1,171 B,create_threads1,242 B,preview_navigate1,296 B,preview_open1,521 B,t3_project_update1,541 B,preview_act1,629 B,html_render1,668 B,delegate_task1,937 B,t3_thread_launch2,611 B,schedule_task3,318 B).
- Kept: 60 user skills (largest ~884 B) + 59 MCP tools (
- Adding more skills or adding more T3 MCP tools simply pushes that shared cutoff lower (which explains why
1.5.9dropped at~1,280 B,1.5.10at~830 B, and1.5.11here at~910 B).
- Observed on T3 Code
Easy repro
- Start from the isolated repro above (Antigravity
1.5.11/1.5.12,t3-codeMCP enabled). - Add ~40–70 skills (~30–45 KB of frontmatter) to
<gemini-dir>/config/skills/<name>/SKILL.md. - Start a thread — both the largest skills and the largest
t3-codeMCP tools (schedule_task,t3_thread_launch,delegate_task,html_render, etc.) vanish from the model's declared tools withoutcall_mcp_toolbeing registered.
Suggested fix in T3 Code
Set deferMcpTools: true in makeAntigravityAcpAdapterFlavor (just like Copilot already does), so T3 sends t3-tool-exposure: deferred and only lists core tools + tool_search instead of consuming ~50 KB (~12.4k tokens) of Antigravity's shared customization budget on every session.
Quick follow-up after live-testing deferMcpTools: true against agy.exe 1.5.11 (empty --gemini-dir, 0 skills) with a mock stdio MCP server:
Plain deferMcpTools: true (including #37886) breaks single-turn optional T3 tools on Antigravity.
agy.exeadvertises nomcpCapabilities, so it always uses the stdioacp-mcp-bridge(not HTTP MCP).- When
tool_searchemitsnotifications/tools/list_changed,agy.exedoes re-calltools/listwithin 1 ms and writes the new.jsonfile to disk. - However,
agy.exebuilds itsoneharness.Toolboxonce persession/promptturn (MCPLoader.Load) and never reloads it mid-turn. Even when the mock MCP server waited 300 ms afteragy.exefinished the refreshedtools/listbefore returning thetool_searchresult, the newly listed tool was still absent for the rest of Turn 1 and only became callable on Turn 2 (the nextsession/prompt).
So simply setting deferMcpTools: true (as I initially suggested above and as #37886 does) would break Turn-1 calls to html_render, preview_*, t3_thread_read, request_secret, schedule_task, etc. for every Antigravity user — including clean profiles with 0 skills.
Working on a minimal PR using a "deferred-proxy" exposure mode (tool_search returning bounded inputSchemas + a tool_call proxy tool, unwrapped in extractMcpToolCallIdentity, fixed 5-tool / ~3.5 KB surface so Turn 1 works and Copilot's "deferred" mode stays untouched). Will link it here once verified live against agy.exe.
Opened #39362 with the \deferred-proxy\ fix (\ ool_search\ with bounded \inputSchema\ + \ ool_call\ proxy) and live \gy.exe 1.5.11\ before/after verification.
Reproduced on macOS (arm64) with agy 1.5.12 and Agent Platform sign-in. It depends on the agy profile's skills, which would explain why the clean-profile check above found nothing.
Check: a small ACP client drives agy acp directly. Its one MCP server is a stdio server that advertises the 82 t3-code tool schemas agy had cached under antigravity-acp/mcp/t3-code/ (52,060 bytes in total) and answers every call with ok <tool>. Same prompt both times, gemini-3.8-flash: call each of 8 tools directly, with no call_mcp_tool and no shell, then report how many mcp_t3-code_ tools are declared.
| agy profile | mcp_t3-code_* declared |
Tools that were actually called (from tool_call titles) |
|---|---|---|
empty --gemini-dir (0 skills) |
82 | all 8: comment_on_issue, t3_thread_send, t3_queue, t3_thread_read, html_render, preview_open, delegate_task, schedule_task |
my normal profile (82 skills in ~/.gemini/config/skills) |
61 | only comment_on_issue. The model reported the other 7 as "Not declared in tool declarations". |
My real T3 sessions match. Of 33 Antigravity sessions with t3-code attached, 26 recorded delegate_task, preview_open, preview_snapshot, html_render, schedule_task, t3_thread_read and request_secret as excluded. The same records list my skills as "excluded due to context budget limits". So skills and MCP tools share one budget, as EliBlauBalto described. In practice the agent can't reach delegate_task or the preview_* browser tools directly. In sessions that excluded t3_thread_read, the agent's transcript has no direct mcp_t3-code_t3_thread_read call: it got there only through acp-mcp-call in the shell. One session that kept t3_thread_read called it directly.
To reproduce: put about 80 skills in the agy profile (or point --gemini-dir at a profile that has them), then ask for any large T3 tool directly.
Investigated with Claude Opus 5.5 in Claude Code.
Additional data point on T3 Code (Beta) 0.1.11, Windows 11 x64, Antigravity ACP (Google account, gemini-4-neon), with 34 user skills installed:
- All 77
t3-codeMCP schemas were written toantigravity-acp/mcp/t3-code/. - 74 loaded eagerly (largest loaded:
html_renderat1,668 B). - The 3 largest tools were dropped without
call_mcp_tool:schedule_task(3,318 B)t3_thread_launch(2,611 B)delegate_task(1,937 B)
This matches the shared skills + MCP customization budget explanation above (T3_ACP_MCP_NODE and T3_ACP_MCP_ENTRYPOINT were present, so the fallback was reachable once Windows PowerShell quoting/stdout redirection was worked around).
Additional controlled 4-point A/B data point on Windows 11 x64 using a custom Antigravity provider (Binary path: agy, agy 1.5.13 via agy acp, Google account, gemini-4-neon) with native plugins installed under ~/.gemini/config/plugins/ and t3-code exposing 71 tools (48,154 B) total schema JSON:
| Enabled native plugins | Model-visible estate skills (approx. prompt lines) | t3-code MCP schemas |
Skills excluded (context budget limits) |
t3-code Eager / Lazy |
call_mcp_tool |
delegate_task & t3_thread_read |
|---|---|---|---|---|---|---|
| 0 | 0 (~1 KB built-ins only) | 48.2 KB | 0 | 71 / 0 | No | Present & working |
| 2 | 28 (~9.1 KB) | 48.2 KB | 0 | 71 / 0 | No | Present & working (verified live cross-provider dispatch) |
| 3 | 86 (~42.2 KB) | 48.2 KB | 8 | 56 / 0 (25,236 B) | No | Dropped (unknown tool) |
| 5 | 100 (~51.7 KB) | 48.2 KB | 17 | 55 / 0 (24,359 B) | No | Dropped (unknown tool) |
Two observations that may help alongside #39362:
- Dynamic eviction scales up to 15–16 dropped tools as installed skill descriptions grow (evicting largest schemas first:
schedule_task3,359 B,t3_thread_launch2,611 B,delegate_task1,939 B,html_render1,668 B,preview_*,t3_thread_read969 B, down tot3_thread_send_attachments877 B at 5 plugins). Keeping total enabled skill prompt footprint under ~10–15 KB immediately restores all 71/71 eager tools. - In this custom
Binary path: agy(1.5.13) profile,T3_ACP_MCP_NODE(andT3_ACP_MCP_ENTRYPOINT) were unset in the session environment (Get-ChildItem Env:T3_ACP_MCP*returned empty), so even theacp-mcp-callshell fallback advertised in<t3_code_instructions>was unavailable whendelegate_taskwas evicted.
Reproduced on Linux with Antigravity ACP 1.5.14 and fork nightly 0.1.12-nightly.20261121.94. In a resumed session, Antigravity cached 88 T3 schemas and advertised 58. The 30 omitted schemas were the 30 largest on disk, including delegate_task and t3_thread_list.
Three Codex targets and one Claude target all failed with tool delegate_task is not enabled for server t3-code. The same session could call orchestrator_capabilities. Claude created eight Codex child threads on the same server that morning.
The ACP initialize reply omitted mcpCapabilities, so T3 selected stdio. This fork already enabled deferMcpTools, but only the HTTP path transmitted that setting. This confirms the tool exposure failure independently of the fallback environment issue. Testing #39362 against the fork.
[!NOTE] 🤖 GPT-6.2 Sol responding on behalf of @samanyudas
I saw the same delegation failure on T3 Code Nightly 0.1.12-nightly.20261123.5138 on macOS 27.0.1 (arm64) in a resumed Antigravity thread.
The thread could call orchestrator_capabilities, which listed Claude Opus 5.5 and GPT-6.2 Sol as available targets. The agent reported that mcp_t3-code_delegate_task was absent from its tool declarations, so it stopped before dispatching either child directly.
The Antigravity MCP cache contained 92 T3 Code schema files. delegate_task.json was present at 1,926 bytes and orchestrator_capabilities.json at 291 bytes. I did not run a clean-profile comparison or determine why this session omitted the tool.
To check this on the nightly, resume an Antigravity thread in an existing profile and ask it to delegate a small task to Claude or Codex through the T3 tool. The child should start from the Antigravity thread after provider discovery succeeds.
Reproduced on Linux x86_64 with T3 Code 0.1.11 and agy 1.5.16 (Google account sign-in, gemini-pro-orchestrator-neon).
With 114 user skills in ~/.gemini/config/skills (~22.5 KB of skill descriptions, already excluding 1 skill due to context budget limits), Antigravity cached all 79 t3-code tool schemas on disk (50,674 B total) and exposed 63 of them eagerly. The largest tool that still loaded was t3_thread_send_attachments (877 B).
The 16 largest t3-code tools (23,686 B combined, everything from 902 B up) were dropped from both eager declarations and the lazy list: schedule_task (3,318 B), t3_thread_launch (2,611 B), delegate_task (1,937 B), html_render (1,668 B), preview_act (1,629 B), t3_project_update (1,541 B), preview_open (1,521 B), preview_navigate (1,296 B), create_threads (1,242 B), t3_project_create (1,163 B), watch_pull_request (1,070 B), request_secret (975 B), t3_thread_read (942 B), t3_theme_set (939 B), preview_resize (932 B), and preview_snapshot (902 B).
That matches the shared budget behavior reported above. For now I trimmed my Antigravity skill directory down to 28 skills (~5.7 KB) as a workaround until #39362 lands.
Confirming reproduction on T3 Code Nightly 0.1.12-nightly.20261122.5071, macOS 26.6 (arm64), Antigravity provider (gemini-4-neon).
With 54 user skills in <profile>/config/skills, Antigravity cached all 82 t3-code MCP schemas on disk (53,816 B total) and exposed 74 eagerly (<= 1,330 B, 37,619 B combined; largest loaded was t3_project_create at 1,330 B).
The 8 largest schemas (16,197 B combined) were dropped from both Eager: and Lazy: (with no call_mcp_tool declared):
schedule_task(3,318B)t3_thread_launch(2,915B)delegate_task(1,937B)t3_project_update(1,781B)html_render(1,668B)preview_act(1,629B)preview_open(1,521B)request_secret(1,428B)
Notably, request_secret is now 1,428 B and gets dropped alongside the other 7, forcing agents to fall back to acp-mcp-call via the terminal (T3_ACP_MCP_NODE / T3_ACP_MCP_ENTRYPOINT are set, so the shell fallback works). Looking forward to #39362 landing.
Still reproduces on 0.1.12-nightly.20261122.5111 (Linux). In Antigravity threads, a direct delegate_task call fails every time, and the model then finds the T3_ACP_MCP_NODE … acp-mcp-call delegate_task '<json>' path through the terminal. That costs 30–80 s per hand-off. When the model rebuilds the call by hand it often drops title, so the child thread is named after the first line of its brief («Act as the implementation sub-agent for this task…»).
Adding a related symptom from #42738 (closed as a duplicate of this one): the eagerly exposed T3 tools also evict user skills from Antigravity's customization budget (customization-token-budget, 20,000 tokens, shared by skills, workflows, subagents and MCP tools).
Measurements on T3 Code 0.1.12-nightly.20261124.5191, Antigravity ACP 1.5.17, macOS:
- Standalone
agy -pwith the sameskills.json(88 skills) and no T3 server: no budget notice, every skill is listed. An extra 30-tool MCP server frommcp_config.jsonis deferred by Antigravity itself (0 tools directly visible) and evicts nothing. - A T3 Antigravity session on the same machine and config: the agent reports
The following items were excluded due to context budget limits: …for 9 skills. - Evicted skills stay available as native slash commands (
/nameat the start of a message still loads them), but the model no longer sees them, so it never picks them on its own.
Whatever fix lands here (deferred exposure, smaller schemas, or fewer eager tools), it would be good to check that the T3 tool list stops consuming this budget, not only that delegate_task becomes callable.
Two more data points from Linux (T3 Code nightly AppImage, Antigravity provider, Gemini model), plus a workaround that works until #39362 ships.
1. The shell fallback doesn't render on Linux either when the agent wraps it. With html_render missing from the tool list, Gemini fell back to acp-mcp-call html_render, but it ran the call from inside a Python subprocess script rather than as a plain single-line shell command. The page was created, but the turn item was stored as a command_execution, so the inline card never appeared. The #38434 fix only matches the plain single-line command, so any agent that wraps the call in a script or multi-line command still loses the page.
2. Workaround: a tiny MCP server with a short html_render definition. Antigravity loads tools from user-configured MCP servers normally, and T3 recognizes a t3-code-direct server name as its own tools. So a ~80-line stdio MCP server named t3-code-direct that:
- lists one tool,
html_render, with a short description (the whole definition is ~675 B, under the cutoff), and - on
tools/call, spawnsELECTRON_RUN_AS_NODE=1 "$T3_ACP_MCP_NODE" [$T3_ACP_MCP_ENTRYPOINT] acp-mcp-call html_render -, writes the arguments JSON to stdin, and returns the last stdout line as the result
shows up in Antigravity as a normal tool, and its pages render inline in the thread as t3-code-direct.html_render items. It's registered in the provider profile's config/mcp_config.json. The T3_ACP_MCP_* env vars reach the MCP child process, so no extra auth setup is needed.
The same approach should work for delegate_task and the other dropped tools, but I've only tested html_render. It's a stopgap: T3 may rewrite the profile's mcp_config.json, and the proxy in #39362 is the real fix.
For the cutoff: here 68 of 80 t3-code tools were exposed. The largest one that loaded was 1,069 B and the smallest one dropped was 1,231 B (create_threads).
Still reproduces on Linux x64 with T3 Code 0.1.13-nightly.20261125.5258, Antigravity ACP 1.5.15 and gemini-4-neon.
- 88 t3-code schemas on disk (57,238 B), 84 advertised. The 4 largest were dropped: schedule_task (3,318 B), t3_thread_launch (3,131 B), delegate_task (1,926 B) and t3_project_update (1,781 B). The largest one kept was html_render (1,668 B).
- 45 user skills, about 16 KB of names and descriptions.
A symptom I haven't seen reported here yet: with delegate_task missing, the agent did not fall back to acp-mcp-call. It called create_threads instead, so a review meant to run as a child task under the parent thread became a separate top-level thread, and nothing told the user the hand-off had changed.
#39362 would fix this for us.