Skip to content

OpenCode question tool emits question.asked but no documented way to answer via Server API #27644

Closed as not planned

Description

@BELZHANG

Question

I’m using OpenCode Server API with SSE events.

When a model/skill invokes the question tool, OpenCode emits events like:

type: question.asked
properties:
sessionID: ses_xxx
questions:
- header: 项目类型
question: 请选择项目类型
options:
- label: NSFC
description: ...
multiple: false
tool:
messageID: msg_xxx
callID: call_xxx

Then the corresponding tool part becomes:
type: message.part.updated
part:
type: tool
tool: question
callID: call_xxx
state:
status: running
input:
questions: [...]

At this point the session stays busy

so my quesstion is what correct request looks like to answer the question and make the session keep going, i made this happen once by sending session_id and message_id with prompt answer, but it never happen again. right now im just ban the question tool.

Activity

  1. github-actions commented on May 15, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. rekram1-node commented on Jun 23, 2026

    @rekram1-node
    Collaborator

    Automated: closing question issues.

    GitHub Issues are for bug reports and feature requests only — questions / support are no longer tracked here.

    If this is a bug or feature request, please open a new issue with the appropriate template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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