Bug: Two Subagent (cursor:Task) root causes — (1) IG(e) strips additionalProperties from CallDynamicTool.arguments forcing {}, and (2) ensureLoaded ('not hydrating') UI race condition

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Through AST reverse-engineering of cursor-agent-exec/dist/main.js, aid-daemon/aid/dist/daemon.cjs, renderer.log, local SQLite (state.vscdb), and local subagents/*.jsonl transcripts in Cursor 3.27.12, we identified two distinct root causes breaking Subagents (cursor:Task) while main chat and top-level tools (Read, Write, StrReplace, Shell, Grep, Glob) work 100% normally:


Bug A (True Failure to Start — New subagent — Couldn't start / arguments: {})

When invoking on-demand tools registered under the cursor dynamic namespace (Task / Subagent, WebSearch, AwaitShell, TodoWrite) via CallDynamicTool, models routed through backends enforcing OpenAI Structured Outputs (strict: true) or Constrained / Guided Decoding (e.g., XGrammar / Outlines) repeatedly emit arguments: {} (while still populating mcpDetails.description).

This causes:

  • cursor:Task (Subagent): Infinite retry loop displaying “New subagent — Couldn’t start” (“Subagent failed to start.”), failing Zod validation with missing required description and prompt.
  • cursor:WebSearch: Immediate Zod validation failure (missing required search_term).
  • cursor:AwaitShell: Silently drops custom timeout arguments and falls back to default 30s sleep because all its fields are optional.

Root Cause in cursor-agent-exec/dist/main.js (IG(e)), aid-daemon/aid/dist/daemon.cjs (stripSchemaArtifacts), and shared Cloud Backend Loop (byok-connect-routed):

  1. In CallDynamicTool (zft), arguments is defined as a dynamic record z.record(z.string(), JsonValue) (U$.g1P(U$.YjP(), N)), whose Draft-07 JSON Schema has NO properties field and relies solely on additionalProperties: { anyOf: [...] }.
  2. Before registering tool schemas, PG(e) -> IG(e) unconditionally destructures and discards additionalProperties:
    const { $schema: r, default: n, definitions: s, markdownDescription: o, additionalProperties: i, ...a } = t; return a;
  3. This collapses CallDynamicTool.properties.arguments into a bare {"type": "object"}. Under strict: true / constrained decoding, a bare object with no properties is normalized to {"type": "object", "properties": {}, "additionalProperties": false}, which mathematically forbids any key and forces the decoder to emit arguments: {}.

Bug B (False Failure to Start — UI Card Frozen with No Progress due to ensureLoaded / not hydrating Race Condition)

Even when CallDynamicTool succeeds with valid parameters (description and prompt populated), the Subagent UI card in the chat panel displays the task title (e.g., Bugbot), freezes with zero streaming progress, and never expands tool steps — making it look stuck or unstarted.

Root Cause in Electron Renderer (MainThreadCursorAgentHost.ensureLoaded) vs. Local SQLite (state.vscdb → composerHeaders table):

  1. The background Subagent worker starts immediately and executes multi-turn tool calls, writing the full transcript to ~/.cursor/projects/<workspace>/agent-transcripts/<parent-uuid>/subagents/<subagent-uuid>.jsonl until turn_ended.
  2. However, MainThreadCursorAgentHost.ensureLoaded(subagentId) checks header window 1–393ms before createdAt is committed to the SQLite composerHeaders table (verified across 9 consecutive subagent spawns: +17ms, +147ms, +1ms, +16ms, +19ms, +393ms, +30ms, +33ms, +23ms).
  3. Exact renderer.log trace:
2026-10-25 12:24:45.902 [info] [MainThreadCursorAgentHost] ensureLoaded: no composer header for 46262d72-... in the header window or on a loaded handle; not hydrating
2026-10-26 07:37:10.944 [info] [MainThreadCursorAgentHost] ensureLoaded: no composer header for f1f8731e-... in the header window or on a loaded handle; not hydrating
2026-10-26 08:56:02.224 [info] [MainThreadCursorAgentHost] ensureLoaded: no composer header for e59f23e6-... in the header window or on a loaded handle; not hydrating
  1. Because ensureLoaded immediately gives up (not hydrating) and binds a 0 turns dummy handle without retry, the UI card never receives live tool-call streaming events. Worse, if the user thinks it is hung and clicks Undo/Rewind, Cursor deletes the completed subagent state (restore_or_rewind).

Steps to Reproduce

1. Deterministic 1-line reproduction for Bug A (IG(e) stripping additionalProperties):

node -e '
function k0(e, t) {
  if (typeof e != "object" || e === null) return e;
  if (Array.isArray(e)) return e.map(n => k0(n, t));
  const r = {};
  for (const [n, s] of Object.entries(e)) r[n] = k0(s, t);
  return t(r);
}
function IG(e) {
  return k0(e, t => {
    const { $schema: r, default: n, definitions: s, markdownDescription: o, additionalProperties: i, ...a } = t;
    return a;
  });
}
const rawSchema = {
  type: "object",
  properties: {
    namespace: { type: "string" },
    toolName: { type: "string" },
    arguments: {
      type: "object",
      additionalProperties: { type: ["string", "number", "boolean", "object", "array"] },
      description: "Arguments to pass to the tool, as described by the tool descriptor."
    }
  },
  required: ["namespace", "toolName"],
  additionalProperties: false
};
console.log(JSON.stringify(IG(rawSchema).properties.arguments, null, 2));
'

2. Read-only SQLite + renderer.log verification probe for Bug B (ensureLoaded vs. composerHeaders.createdAt):

import datetime, re, sqlite3
from pathlib import Path

DB = Path.home() / "Library/Application Support/Cursor/User/globalStorage/state.vscdb"
RENDERER_LOG = Path.home() / "Library/Application Support/Cursor/logs/<latest_log_dir>/window1_wb1/renderer.log"

con = sqlite3.connect(f"file:{DB}?mode=ro", uri=True)
pat = re.compile(r"^(d{4}-d{2}-d{2} d{2}:d{2}:d{2}.d{3}).*no composer header for ([0-9a-f-]+)")
ensure_ts = {m.group(2): datetime.datetime.strptime(m.group(1), "%Y-%m-%d %H:%M:%S.%f")
             for line in RENDERER_LOG.read_text(errors="replace").splitlines() if (m := pat.match(line))}

for cid, t_ensure in ensure_ts.items():
    row = con.execute("SELECT subagentTypeName, createdAt FROM composerHeaders WHERE composerId=?", (cid,)).fetchone()
    if row:
        sub_type, created_ms = row
        delta_ms = (datetime.datetime.fromtimestamp(created_ms / 1000) - t_ensure).total_seconds() * 1000
        print(f"child={cid[:8]}  type={str(sub_type):15}  lag={delta_ms:+5.0f}ms")

Expected Behavior

  1. Fix for Bug A (IG(e) / stripSchemaArtifacts): Only strip boolean additionalProperties: false on fixed z.object schemas, and preserve additionalProperties when it is a schema object representing a dynamic ZodRecord dictionary:
function IG(e) {
  return k0(e, t => {
    const { $schema: r, default: n, definitions: s, markdownDescription: o, additionalProperties: i, ...a } = t;
    if (typeof i === "object" && i !== null) {
      a.additionalProperties = true; // Preserve dynamic record semantics without recursive $ref
    }
    return a;
  });
}
  1. Fix for Bug B (MainThreadCursorAgentHost.ensureLoaded): Ensure the subagent’s composerHeaders record is registered in the header window / committed before triggering ensureLoaded, or add a short bounded retry / event subscription when composerHeaders is not yet visible instead of immediately falling through to not hydrating.

Operating System

MacOS

Version Information

Cursor IDE Version: 3.27.12 (arm64)
OS: darwin 25.6.0 (macOS)

For AI issues: which model did you use?

Auto (lazy/default) / OpenAI-compatible models via byok-connect-routed with strict/constrained tool decoding

Additional Information

Full technical write-up, AST symbol trace (zft -> pG/dG -> PG/IG -> toe.executeToolStream -> Lse -> qse -> Dse), millisecond-level renderer.log vs. state.vscdb (composerHeaders) race table, and verification scripts:

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hi @lcw,

On the empty arguments: you’re right. CallDynamicTool.arguments reaches the model as a plain {"type": "object"} with no additionalProperties, so a backend that closes objects without properties can only produce {}. That’s why Task keeps failing to start and WebSearch loses search_term. Until that changes:

  1. On your endpoint, treat an object schema with no properties as open, or exempt CallDynamicTool from strict / constrained decoding.
  2. For chats that need subagents or web search, switch to one of Cursor’s built-in models.

On the frozen card, the ensureLoaded ... not hydrating line is present in 3.27.12, but it doesn’t prevent the card from connecting to the running subagent, so on its own it isn’t what freezes the card. If a card freezes, try Developer: Reload Window; avoid Undo/Rewind past that step. In the meantime, you can read the result in the subagent’s .jsonl transcript.

If it happens again, could you post the [AgentHostChildSessionMirror] lines from renderer.log around that spawn? Those would show why the card stopped updating.

Hi @Colin, thanks for confirming Bug A (CallDynamicTool.arguments stripped to bare {"type": "object"}) and for the pointer to [AgentHostChildSessionMirror]!

We have already deployed the gateway-side rewrite (setting strict: false and restoring additionalProperties: true on CallDynamicTool.arguments) in our local OpenAI-compatible proxy, and verified that Task / WebSearch now succeed 100% of the time.


Full [AgentHostChildSessionMirror], [AgentHostInteractionMirror], and [MainThreadCursorAgentHost] logs for the 9 frozen subagent spawns

Here is the complete unfiltered sequence from window1_wb1/renderer.log (session 20261025T121715) covering all 9 subagents (46262d72, f1f8731e, e59f23e6, 213ecd05, c5803c2a, a9082a1d, 923eac71, 739bcb19, e18fc29d) from spawn until window shutdown:

L25:   2026-10-25 12:17:22.108 [info] [MainThreadCursorAgentHost] ensureLoaded: created host session 539e053d-63c5-4322-bc92-5754334624ad {"turnCount":629,"coldBootstrap":false,"workspacePaths":["/Users/Licw/Desktop/git/wanxiang2"]}
L30:   2026-10-25 12:24:45.902 [info] [MainThreadCursorAgentHost] ensureLoaded: no composer header for 46262d72-e2cd-4fc7-bc6b-0b1e6f6b69b0 in the header window or on a loaded handle; not hydrating
L31:   2026-10-25 12:24:45.979 [info] [AgentHostChildSessionMirror] watchSessions.deleted 81d08229-54f4-469e-9820-66d848421554 knownChild=false announced=false composerLoaded=false
...
L38:   2026-10-25 12:24:45.980 [info] [MainThreadCursorAgentHost] ensureLoaded: created host session 46262d72-e2cd-4fc7-bc6b-0b1e6f6b69b0 {"turnCount":0,"coldBootstrap":false,"workspacePaths":["/Users/Licw/Desktop/git/wanxiang2"]}
L903:  2026-10-26 07:37:10.944 [info] [MainThreadCursorAgentHost] ensureLoaded: no composer header for f1f8731e-f0e5-43c1-afda-2a97bae68d82 in the header window or on a loaded handle; not hydrating
L904:  2026-10-26 07:37:11.162 [info] [MainThreadCursorAgentHost] ensureLoaded: created host session f1f8731e-f0e5-43c1-afda-2a97bae68d82 {"turnCount":0,"coldBootstrap":false,"workspacePaths":["/Users/Licw/Desktop/git/wanxiang2"]}
L946:  2026-10-26 08:55:05.402 [info] [AgentHostChildSessionMirror] watchSessions.deleted 29b820a5-d61f-4e4a-b918-fd091d0e49c0 knownChild=false announced=false composerLoaded=true
L948:  2026-10-26 08:56:02.224 [info] [MainThreadCursorAgentHost] ensureLoaded: no composer header for e59f23e6-6142-41ac-9139-a7bb68db1da7 in the header window or on a loaded handle; not hydrating
L949:  2026-10-26 08:56:02.251 [info] [MainThreadCursorAgentHost] ensureLoaded: created host session e59f23e6-6142-41ac-9139-a7bb68db1da7 {"turnCount":0,"coldBootstrap":false,"workspacePaths":["/Users/Licw/Desktop/git/wanxiang2"]}
L970:  2026-10-26 09:57:43.446 [info] [MainThreadCursorAgentHost] ensureLoaded: no composer header for 213ecd05-ab7c-4e1a-a130-a1fd3400e24b in the header window or on a loaded handle; not hydrating
L971:  2026-10-26 09:57:43.506 [info] [MainThreadCursorAgentHost] ensureLoaded: created host session 213ecd05-ab7c-4e1a-a130-a1fd3400e24b {"turnCount":0,"coldBootstrap":false,"workspacePaths":["/Users/Licw/Desktop/git/wanxiang2"]}
L982:  2026-10-26 10:13:49.052 [info] [AgentHostChildSessionMirror] watchSessions.deleted 0923561d-abfd-4096-b5e7-cc5a1f766cbb knownChild=false announced=false composerLoaded=true
L983:  2026-10-26 10:18:40.525 [info] [MainThreadCursorAgentHost] ensureLoaded: no composer header for c5803c2a-e6fa-499c-80cd-34c26c221ea6 in the header window or on a loaded handle; not hydrating
L984:  2026-10-26 10:18:40.596 [info] [MainThreadCursorAgentHost] ensureLoaded: created host session c5803c2a-e6fa-499c-80cd-34c26c221ea6 {"turnCount":0,"coldBootstrap":false,"workspacePaths":["/Users/Licw/Desktop/git/wanxiang2"]}
L1123: 2026-10-26 12:55:10.353 [info] [MainThreadCursorAgentHost] ensureLoaded: no composer header for a9082a1d-d0a3-402c-8789-ea10e568b14b in the header window or on a loaded handle; not hydrating
L1124: 2026-10-26 12:55:10.832 [info] [MainThreadCursorAgentHost] ensureLoaded: created host session a9082a1d-d0a3-402c-8789-ea10e568b14b {"turnCount":0,"coldBootstrap":false,"workspacePaths":["/Users/Licw/Desktop/git/wanxiang2"]}
L1147: 2026-10-26 14:10:42.757 [info] [MainThreadCursorAgentHost] ensureLoaded: no composer header for 923eac71-d833-4d83-ab85-2152df00349b in the header window or on a loaded handle; not hydrating
L1148: 2026-10-26 14:10:42.890 [info] [MainThreadCursorAgentHost] ensureLoaded: created host session 923eac71-d833-4d83-ab85-2152df00349b {"turnCount":0,"coldBootstrap":false,"workspacePaths":["/Users/Licw/Desktop/git/wanxiang2"]}
L1177: 2026-10-26 15:03:02.463 [info] [MainThreadCursorAgentHost] ensureLoaded: no composer header for 739bcb19-137c-4161-b695-8216b78a4095 in the header window or on a loaded handle; not hydrating
L1178: 2026-10-26 15:03:02.587 [info] [MainThreadCursorAgentHost] ensureLoaded: created host session 739bcb19-137c-4161-b695-8216b78a4095 {"turnCount":0,"coldBootstrap":false,"workspacePaths":["/Users/Licw/Desktop/git/wanxiang2"]}
L1180: 2026-10-26 15:04:16.552 [info] [MainThreadCursorAgentHost] ensureLoaded: no composer header for e18fc29d-7892-4cfe-99de-e09b5d272b08 in the header window or on a loaded handle; not hydrating
L1181: 2026-10-26 15:04:16.654 [info] [MainThreadCursorAgentHost] ensureLoaded: created host session e18fc29d-7892-4cfe-99de-e09b5d272b08 {"turnCount":0,"coldBootstrap":false,"workspacePaths":["/Users/Licw/Desktop/git/wanxiang2"]}

# ... Hours later, when the window closed at 20:32:02.037, all 9 subagents were STILL holding active attachSession and watchSessionInteractions streams:
L1429: 2026-10-26 20:32:02.037 [warning] [AgentHostInteractionMirror] interaction watch failed {"sessionId":"46262d72-e2cd-4fc7-bc6b-0b1e6f6b69b0","error":{}}
L1430: 2026-10-26 20:32:02.037 [warning] [AgentHostInteractionMirror] interaction watch failed {"sessionId":"f1f8731e-f0e5-43c1-afda-2a97bae68d82","error":{}}
L1431: 2026-10-26 20:32:02.037 [warning] [AgentHostInteractionMirror] interaction watch failed {"sessionId":"e59f23e6-6142-41ac-9139-a7bb68db1da7","error":{}}
L1432: 2026-10-26 20:32:02.037 [warning] [AgentHostInteractionMirror] interaction watch failed {"sessionId":"213ecd05-ab7c-4e1a-a130-a1fd3400e24b","error":{}}
L1433: 2026-10-26 20:32:02.037 [warning] [AgentHostInteractionMirror] interaction watch failed {"sessionId":"c5803c2a-e6fa-499c-80cd-34c26c221ea6","error":{}}
L1434: 2026-10-26 20:32:02.037 [warning] [AgentHostInteractionMirror] interaction watch failed {"sessionId":"a9082a1d-d0a3-402c-8789-ea10e568b14b","error":{}}
L1435: 2026-10-26 20:32:02.037 [warning] [AgentHostInteractionMirror] interaction watch failed {"sessionId":"923eac71-d833-4d83-ab85-2152df00349b","error":{}}
L1436: 2026-10-26 20:32:02.037 [warning] [AgentHostInteractionMirror] interaction watch failed {"sessionId":"739bcb19-137c-4161-b695-8216b78a4095","error":{}}
L1437: 2026-10-26 20:32:02.037 [warning] [AgentHostInteractionMirror] interaction watch failed {"sessionId":"e18fc29d-7892-4cfe-99de-e09b5d272b08","error":{}}
L1438: 2026-10-26 20:32:02.037 [warning] [AgentHostChildSessionMirror] watchSessions failed Agent host bridge disposed while watchSessions-43578fce-68cc-47ff-9b9a-bcca37fda2e0 was active; please retry.
L1439: 2026-10-26 20:32:02.037 [warning] [AgentHostChildSessionMirror] attachSession failed for 46262d72-e2cd-4fc7-bc6b-0b1e6f6b69b0 Agent host bridge disposed while attachSession-7fae44c1-bea2-4a9f-a695-c93527d9b67d was active; please retry.
L1440: 2026-10-26 20:32:02.037 [warning] [AgentHostChildSessionMirror] attachSession failed for f1f8731e-f0e5-43c1-afda-2a97bae68d82 Agent host bridge disposed while attachSession-ac893413-9ca8-4017-9c5d-dd3b380cc347 was active; please retry.
L1441: 2026-10-26 20:32:02.037 [warning] [AgentHostChildSessionMirror] attachSession failed for e59f23e6-6142-41ac-9139-a7bb68db1da7 Agent host bridge disposed while attachSession-d6338453-87c2-4202-b466-1f84ace5966f was active; please retry.
L1442: 2026-10-26 20:32:02.037 [warning] [AgentHostChildSessionMirror] attachSession failed for 213ecd05-ab7c-4e1a-a130-a1fd3400e24b Agent host bridge disposed while attachSession-d864cd36-5fe1-4687-b483-622ad3823793 was active; please retry.
L1443: 2026-10-26 20:32:02.037 [warning] [AgentHostChildSessionMirror] attachSession failed for c5803c2a-e6fa-499c-80cd-34c26c221ea6 Agent host bridge disposed while attachSession-a8f3034e-43b9-4572-8171-b1116e793622 was active; please retry.
L1444: 2026-10-26 20:32:02.037 [warning] [AgentHostChildSessionMirror] attachSession failed for a9082a1d-d0a3-402c-8789-ea10e568b14b Agent host bridge disposed while attachSession-468a090a-e486-4d07-9707-67e0ad62bc82 was active; please retry.
L1445: 2026-10-26 20:32:02.037 [warning] [AgentHostChildSessionMirror] attachSession failed for 923eac71-d833-4d83-ab85-2152df00349b Agent host bridge disposed while attachSession-b35b02ce-d687-47ef-a524-edbcb32171fb was active; please retry.
L1446: 2026-10-26 20:32:02.037 [warning] [AgentHostChildSessionMirror] attachSession failed for 739bcb19-137c-4161-b695-8216b78a4095 Agent host bridge disposed while attachSession-67637bf5-9a93-4652-88ce-14de0f3c56f5 was active; please retry.
L1447: 2026-10-26 20:32:02.037 [warning] [AgentHostChildSessionMirror] attachSession failed for e18fc29d-7892-4cfe-99de-e09b5d272b08 Agent host bridge disposed while attachSession-3ee3e843-2d34-4771-9eec-6d0da9aa68db was active; please retry.

Key Observations from the Logs & workbench.desktop.main.js

  1. _adoptChildUnlocked → _ensureAttach DID succeed and opened attachSession + watchSessionInteractions for all 9 subagents (no Cannot adopt child, failed to adopt child session, or child transcript update failed warnings were logged during spawn).
  2. All 9 attachSession-<uuid> streams remained open (was active) for 5 to 32 hours until the workbench shut down at 20:32:02.037, even though the subagents had already completed their turns in the background (turn_ended written in subagents/<id>.jsonl).
  3. Meanwhile, right around the subagent execution window, the Extension Host logged repeated OTel / TLS socket errors during byok-connect-routed streaming:
    [error] [Extension Host:unknown] [otel.error] writeInitialRequest ... - You can only call end() on a span once.
    [error] [Extension Host:unknown] [otel.error] Error: Client network socket disconnected before secure TLS connection was established (ECONNRESET)
    

Hope this [AgentHostChildSessionMirror] trace helps pinpoint why the attachSession stream either stopped delivering interactionUpdate / turnSettled events to the UI card or left the card in a frozen state!

Hey @lcw, glad the proxy rewrite sorted out Task and WebSearch.

The full log shows the window connecting to each subagent normally. The created host session ... turnCount 0 line comes from the window re-attaching to the subagent the agent host is already running, not from an empty copy, and those attach streams are meant to stay open until the window closes. So the 20:32 failures are just the window shutting down. Unfortunately that also means this log can’t tell us whether the updates reached the card, because the window doesn’t log the updates themselves.

For now, Developer: Reload Window and reading the subagent’s .jsonl transcript are still the way around it, and it’s best not to Undo/Rewind past a frozen card.

One thing that would narrow it down: does the card also freeze when the parent chat uses one of Cursor’s built-in models instead of your custom endpoint?

Hi @Colin, thank you for clarifying the meaning of `turnCount 0` and the lifetime of the `attachSession` streams. I had misinterpreted those logs, and I’ve withdrawn the unverified persistence-race claim from the gist.

To answer your question directly: I selected **Auto** in Cursor and ran three comparable short, read-only subagent tasks. All three completed, and I observed normal activity and completion in all three cards; none froze. The Dashboard recorded the usage as `auto / Included`.

I also tested two model labels through the same OpenAI-compatible relay: three subagent tasks completed for each label, with no card freeze reported in those groups. Separately, three tasks using a Tianyi Cloud model through my local proxy returned results, but I have not confirmed the visual state of all three cards.

The relay model names are labels supplied by the relay. I cannot independently verify the underlying model provider or version. The Tianyi Cloud path passes through my local proxy, which modifies some request and response formatting.

In short, I did not reproduce the card freeze in the Auto runs or in the relay runs where I confirmed card behavior. These small tests do not establish the cause of the earlier freeze or rule out an intermittent issue. If it happens again, I’ll capture the card behavior and relevant logs at the time.

Separately, for the `CallDynamicTool.arguments: {}` issue you confirmed: repeated `Task` calls in two chats using one relay model label arrived with an empty `arguments` object and were rejected for a missing `prompt`; no subagent started.

I then sent a **constructed, non-streaming** tool-call request directly to the relay, outside Cursor. For that same model label, one request with `additionalProperties: true` on the nested `arguments` object returned the requested non-empty `prompt`; one otherwise comparable request with that keyword omitted returned `arguments: {}`. Two other relay model labels returned a non-empty `prompt` in both variants.

This is only one request per model and schema variant. I have not captured Cursor’s exact outbound schema, and the relay’s internal processing is not visible to me, so this comparison does not independently establish which component enforced or produced the empty object. It is consistent with the schema issue you described, and may be a useful additional data point.

Thanks again for investigating and for correcting my interpretation of the logs.

Thanks for running those tests, @lcw, and for the relay comparison.

Since the card didn’t freeze on Auto or on the relay runs you watched, there’s nothing more we can chase on the frozen card for now. If it comes back, a note on which model the parent chat used, plus the renderer.log lines from around that spawn, would be the most useful thing to post here.

On the empty arguments: your direct test fits what we found on our side. Your proxy rewrite is the right workaround until that changes.

Hi @Colin, thanks for confirming that the direct comparison fits what you found, and that the proxy rewrite is the right workaround for now.

One practical question on the empty-arguments issue only: has restoring additionalProperties on CallDynamicTool.arguments (or otherwise not collapsing that schema to a bare object) been scheduled for a fix? If so, which Cursor version should we expect it in? Until then, should custom endpoints keep using the proxy rewrite as the supported workaround?

I’m not asking about the frozen card.

No ETA at this time.

Thanks, @Colin. To leave a clear status for anyone landing here: Cursor has confirmed the root cause (additionalProperties stripped from CallDynamicTool.arguments), but there is no ETA for a fix, so custom endpoints should keep rewriting the schema on the proxy side (restore additionalProperties and avoid strict on that tool) for now. I’ll leave this topic unsolved rather than marking it resolved, since a resolved marker would imply a shipped fix or a version to upgrade to.