Skip to content

feat: add decimal_to_binary tool#188

Open
Ayush-0918 wants to merge 1 commit into
abduznik:mainfrom
Ayush-0918:tool-decimal-to-binary
Open

feat: add decimal_to_binary tool#188
Ayush-0918 wants to merge 1 commit into
abduznik:mainfrom
Ayush-0918:tool-decimal-to-binary

Conversation

@Ayush-0918

Copy link
Copy Markdown

Summary

This PR adds a new decimal_to_binary tool that converts a decimal integer into its binary string representation.

What Changed

  • Added a new tool: tools/decimal_to_binary.py
  • Implemented the required run(*args) function following the project's tool interface
  • Converts decimal integer input into the corresponding binary string using Python's built-in conversion
  • Included the required metadata (tool, description, author, and example) to match the existing tool format

Example

decimal_to_binary "10" -> "1010"

@abduznik

Copy link
Copy Markdown
Owner

Hey! Thanks for the contribution. Before merging, please add the issue number this tool addresses in your PR description.

For example, if this tool is for issue #123, add:
Closes #123

This helps us track which issues are being resolved by each PR. Let me know if you have any questions!

@abduznik

Copy link
Copy Markdown
Owner

Hey! Just a reminder - the PR title still needs to be fixed:

Change: eat: add decimal_to_binary tool
To: [tool] decimal_to_binary

Once fixed, we can merge!

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