Skip to content

Conversation

binggg
Copy link
Member

@binggg binggg commented Jul 14, 2025

This PR fixes the MCP createFunction runtime parameter issue described in #81.

Changes made:

  • Fixed misleading documentation that suggested 'Nodejs 18.15' with space
  • Added automatic validation and correction for runtime parameter format
  • Added warning messages when spaces are detected in runtime parameter
  • Updated tools.json to use consistent format without spaces

Fixes #81


🤖 Generated with Claude Code

- Fixed misleading documentation in functions.ts that suggested ''Nodejs 18.15'' with space
- Added automatic validation and correction for runtime parameter format
- Added warning messages when spaces are detected in runtime parameter
- Updated tools.json to use consistent format without spaces

The runtime parameter now accepts values like:
- Nodejs18.15 (correct, no space)
- Nodejs16.13
- Nodejs14.18
- etc.

Fixes #81: MCP工具错误: createFunction

Co-authored-by: Booker Zhao <binggg@users.noreply.github.com>
@binggg binggg merged commit 8229de0 into main Jul 14, 2025
1 check passed
binggg added a commit that referenced this pull request Sep 4, 2025
…_145705

fix: resolve runtime parameter format issue in createFunction tool
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.

MCP工具错误: createFunction
1 participant