Skip to content

feat: Configurable tool names#24

Merged
Aas-ee merged 1 commit intoAas-ee:mainfrom
lightdot:feature/configurable-tool-names
Oct 26, 2025
Merged

feat: Configurable tool names#24
Aas-ee merged 1 commit intoAas-ee:mainfrom
lightdot:feature/configurable-tool-names

Conversation

@lightdot
Copy link
Contributor

This pull request implements configurable tool names, e.g. "search" can be renamed to "webSearch" or to any other valid MCP tool name, by setting environment variables.

This is particularly useful for Gemini CLI and Qwen Code users, as their APIs don't allow a tool to use the name "search".

Changes are fully backwards compatible. Tool names remain the same, unless the user explicitly redefines them. I have also implemented name validation, logging and falling back to defaults.

Provides a solution and basically resolves #21.

Note: please check the changes to the Chinese version of the documentation, xièxiè.

@Aas-ee
Copy link
Owner

Aas-ee commented Oct 26, 2025

LGTM

@Aas-ee Aas-ee merged commit 29d92d3 into Aas-ee:main Oct 26, 2025
@Aas-ee
Copy link
Owner

Aas-ee commented Oct 26, 2025

Merged! Thanks for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✕ [API Error: 400 <400> InternalError.Algo.InvalidParameter: Tool names are not allowed to be [search]]

2 participants