Skip to content

API error every time Claude accesses the database schema #202

@calebdw

Description

@calebdw

Laravel Package Version

1.0.18

Laravel Version

11.x

PHP Version

8.4

System Info

PopOS 22.044

Description

Hello!

We have hundreds of tables and view, and when I ask claude to look at a particular table schema I usually get an error along the lines of:

AI_APICallError: input length and `max_tokens` exceed context limit: 188908 + 32000 > 200000, decrease input length or `max_tokens` and try again

or

Error: MCP tool "database-schema" response (85478 tokens) exceeds maximum allowed tokens (25000). Please use pagination, filtering, or limit parameters to reduce the response size.

Steps To Reproduce

ask boost to look at the database schema

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