Skip to content

Custom tool descriptionsΒ #4010

@aganonki

Description

@aganonki

What problem does this proposed feature solve?

Add ability to Override tools descriptions used in system prompt.

Currently there is no way to replace tool descriptions without overriding whole system prompt and if advanced user would like to compress/rewrite/change tool descriptions he has no way to do it.

For example i would like to use this to make tool calling prompts more light weight.
I tested custom reduced prompt versions that greatly reduce initial context buffer by 50% without significant quality loss if any.

Describe the proposed solution in detail

Add your description in .roo/tools/read_file.md it will override default read_file tool description with your provided description from file additionally it would supports args param replacement with ${args.cwd}

Technical considerations or implementation details (optional)

I already have code with tests ready for Draft

Describe alternatives considered (if any)

No response

Additional Context & Mockups

Example:

Image

Proposal Checklist

  • I have searched existing Issues and Discussions to ensure this proposal is not a duplicate.
  • This proposal is for a specific, actionable change intended for implementation (not a general idea).
  • I understand that this proposal requires review and approval before any development work begins.

Are you interested in implementing this feature if approved?

  • Yes, I would like to contribute to implementing this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Needs InfoMissing details or unclear. Waiting on author to provide more context.enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions