Skip to content

Tool sets: a choice's resolved list can outgrow a record's size limit #1572

Backlog

Description

@lydakis

From Codex's review of #1570 (P2, comment).

Each set and a bot's own list are bounded (a declared list's bytes, 64 KiB), but what a choice resolves to is their union. A bot that follows about 18 sets of distinct tools with very large descriptions resolves to more than MAX_EVENT (1 MiB): create commits the bot and answers response_size_limit, and inspect cannot return its record.

Reaching it takes over a megabyte of tool definitions on one agent, more than a model's context holds, so it is filed here rather than fixed in #1570. Options when it matters: refuse a create, configure or declare_set whose resulting list would not fit a record; or keep resolved definitions out of the inline record (digest and names only).


Generated by Claude Code

Activity

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