Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Paste JSON Schema Functionality to Custom Tools #4053

Merged

Conversation

AsharibAli
Copy link
Contributor

What's Changed

Added a new feature to make it easier to add input schema to custom tools by pasting JSON directly.

New Features:

  • Added "Paste JSON" button next to "Add Item" in the Tool Dialog
  • Created new PasteJSONDialog component with JSON code editor
  • Added JSON validation and error handling
  • Included example JSON template for reference

How to Use:

  1. Click "Paste JSON" button in the Input Schema section
  2. Either paste your JSON or click "See Example" to see the format
  3. Click Confirm to add the properties to the grid

Screenshots

Screenshot 2025-02-20 192218
Screenshot 2025-02-20 192425

Testing Done

  • Tested JSON validation
  • Tested example template
  • Tested error handling
  • Tested dark/light theme support

Related Issues

#4052

- Add PasteJSONDialog component for JSON input

- Add Paste JSON button to Tool Dialog

- Support JSON validation and format conversion

- Add example JSON template
Copy link
Contributor

@HenryHengZJ HenryHengZJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!!

@HenryHengZJ HenryHengZJ merged commit 19c36c6 into FlowiseAI:main Feb 22, 2025
2 checks passed
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.

2 participants