Skip to content

fix: clarify cron expression requirements in trigger config#134

Merged
binggg merged 1 commit intomainfrom
claude/issue-131-20250810-1619
Aug 11, 2025
Merged

fix: clarify cron expression requirements in trigger config#134
binggg merged 1 commit intomainfrom
claude/issue-131-20250810-1619

Conversation

@binggg
Copy link
Copy Markdown
Member

@binggg binggg commented Aug 11, 2025

Fixes #131. Updated documentation for timer trigger configuration to explicitly state that cron expressions must contain exactly 7 fields (second minute hour day month week year). This prevents AI users from using 6-field expressions that cause CloudBase errors.

Changes:

  • Added explicit warning about 7-field requirement in both createFunction and createFunctionTriggers tools
  • Updated parameter descriptions to prevent cron expression errors

Generated with Claude Code

- Add explicit warning about 7-field requirement for timer triggers
- Updated both createFunction and createFunctionTriggers tools
- Prevents AI from using 6-field cron expressions that cause errors

Co-authored-by: Booker Zhao <binggg@users.noreply.github.com>
@binggg binggg merged commit 1930e51 into main Aug 11, 2025
binggg added a commit that referenced this pull request Sep 4, 2025
#134)

- Add explicit warning about 7-field requirement for timer triggers
- Updated both createFunction and createFunctionTriggers tools
- Prevents AI from using 6-field cron expressions that cause errors

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Booker Zhao <binggg@users.noreply.github.com>
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工具错误: createFunctionTriggers

1 participant