Skip to content

Invalid length for parameter toolConfig.tools[13].toolSpec.description #213

@mnickel

Description

@mnickel

Describe the bug
When using the cline plugin for VSCode, user reported seeing this error:

[ERROR] Stream error: 500: Parameter validation failed:
Invalid length for parameter toolConfig.tools[13].toolSpec.description, value: 0, valid min length: 1

a fix is under review in the cline project:
cline/cline#7696

a simple solution in a related comment under that issue is to use the tool name in the description when the description is blank

To Reproduce
Point cline to your bedrock-access-gateway endpoint
Ensure that you have the feature in cline "Enable Focus Chain" selected

Expected behavior
Cline should not throw an error

Additional context
This is a snippet of the Request coming from cline:

{ "toolSpec": { "name": "focus_chain", "description": "", "inputSchema": { "json": { "type": "object", "properties": {}, "required": [], "additionalProperties": false } } } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions