Skip to content

[Bug] #75

@ZhangChengJi

Description

@ZhangChengJi

版本 / Version

2.0.9

部署方式 / Deployment

自建服务器 / Self-hosted

问题描述 / What happened?

 API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Tool definitions are too large (79KB > 47KB). Reduce the number of tools or
shorten parameter schemas."}} Claude Code通过 windsurfAPI调用会报错这个

Image

复现步骤 / Steps to reproduce

API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Tool definitions are too large (79KB > 47KB). Reduce the number of tools or
     shorten parameter schemas."}}  Claude Code通过 windsurfAPI调用会报错这个

<img width="1438" height="359" alt="Image" src="https://github.com/user-attachments/assets/e35e3d2b-ed3a-4514-9ba7-57a2d911a852" />

日志 / Logs

模型 / Model

No response

环境 / Environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions