Skip to content

pending tool call can remain stuck after schema validation error #30093

Closed as duplicate

Description

@codeg-dev

Problem

A malformed built-in tool call can be persisted as a pending part before schema validation reports an error. For example, a bash tool call with an empty object is missing the required command field.

Expected

The matching tool part should be settled to error so the session can continue or finish.

Actual

The persisted tool part can remain pending, leaving the session stuck with a tool call that will never run.

Activity

  1. github-actions commented on May 31, 2026

    @github-actions
    Contributor

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

    If your issue is distinct from all of the above, please add a note clarifying the difference so maintainers can triage accordingly.

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