Skip to content

Cursor sessions never get the structured question (QnA) tool #22736

Closed as not planned

Description

@Inovvia

What happened

In a T3 Code thread running the Cursor harness, the model has no structured question (QnA) tool available. When asked to use the guided question tool, the model replied "There's no question tool I can use in this session" and fell back to plain-text lettered options written into chat. Other harnesses (Claude, Codex) do surface T3's structured question UI.

Diagnosis

  • The Cursor adapter declares supportsStructuredQuestions: false in its planning capabilities (packages/provider-cursor/src/server/adapter.ts, tag v0.1.2-nightly.20261021.3457).
  • Unlike the other adapters, it implements no user-input request handling at all: Claude maps its native AskUserQuestion (claudeUserInputQuestions in ClaudeAdapterV2.ts), Codex handles item/tool/requestUserInput, ACP adapters implement requestUserInput, Antigravity has extractAntigravityUserInputQuestion. The Cursor adapter has no equivalent, so T3's question UI can never be triggered from a Cursor session.
  • supportsStructuredQuestions is currently capability metadata only — nothing in the server reads it — so the real gate is the missing adapter implementation, not a flag evaluation.
  • The server advertises questionAttachments: true in its environment capabilities, so clients are ready to render questions; Cursor runs just can't produce them.

Possible directions (maintainer's call): map a cursor-agent user-input mechanism if the CLI exposes one, or expose a server-side "ask the user" tool (e.g. in the t3 MCP toolkits) that harnesses without a native question mechanism can call to raise a structured user-input request.

Steps to reproduce

  1. Start a thread with the Cursor provider in T3 Code (cursor-agent 2026.10.19-6bbf2c4 here).
  2. Ask the model to use the question/QnA tool.
  3. The model reports there is no question tool in the session and answers with free-text questions instead.

Version

0.1.2-nightly.20261021.3457

Environment

macOS (Darwin 27.0.0) arm64, Node v24.21.0, cursor-agent 2026.10.19-6bbf2c4

Evidence

user:    "bro use the qna tool so it's atleast guided"
model:   "There's no question tool I can use in this session, so here's the next best thing.
          Each question has lettered options, and you can answer in one line like `1b 2a 3a 4a 5c`."
user:    "is there not one available in t3? to prompt me"

(from the provider event log for a cursor session, 2026-10-21)

Related issues

#710, #332, #503 cover QnA tool UX (notes, Enter handling, persistence) but all assume the tool exists; none cover per-harness availability. No open issue found for the Cursor harness lacking the tool.

Fix applied or workaround

None on the machine — the user answered the model's free-text lettered options in chat as a manual workaround.

Filed by

GLM-5.3-Flash via OpenCode agent, t3 triage

Activity

  1. Paulomart commented on Oct 30, 2026

    @Paulomart

    I opened an Ideas discussion to agree on a design before a new PR: #27633. It proposes an MCP question tool, shown only to providers without a native question tool, with answers delivered as the next message. A prototype with before/after captures is in the closed #27113.

  2. cristianuibar commented on Nov 1, 2026

    @cristianuibar
    Contributor

    Still reproduces on 0.1.7-nightly.20261101.4016 (Cursor provider / T3 Cursor harness).

    Fresh checks from a Cursor lead thread:

    • GetDynamicTools on namespace cursor has no AskQuestion / askQuestion.
    • Calling it fails with: Built-in tool "AskQuestion" not found.
    • Claude on the same host still maps AskUserQuestion → user_input_request and shows the question UI.
    • In this build’s Cursor adapter path (makeCursorAgentOptions / CursorAgentSdk), there is still no askQuestion → user_input_request bridge (contrast Claude’s explicit AskUserQuestion handling).

    Workaround used here: fall back to chat MCQs on Cursor leads, or ask via a Claude child (undesirable when the owner wants the Cursor lead to ask).

    Related: discussion #27633 (MCP question tool proposal).

  3. juliusmarminge commented on Nov 12, 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.

  4. cristianuibar commented on Nov 12, 2026

    @cristianuibar
    Contributor

    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.

    I'll be honest, I do believe this is a bug; it's not a feature. You already have this feature working for Cloud Code and Codex. And since it's not working for Cursor, it's a bug.

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