[Solved ✅] How to implement a custom tool/task/action/agent ?
Hello there! I would like to add a tool, or whatever fits better for the task, to be able to pass a prompt to dalle, generate an image, and send the image (or the images url) to another part of the workflow. ive found the creating a local tool doc https://docs.composio.dev/introduction/foundations/components/local_tools#adding-a-custom-local-tool-in-python, but i cant make it work. ive even bounced it with claude, but i still cant make it
this is what i've currently made
thanks in advance for your help!
Composio Docs
Creating a Local Tool - Composio
Composio enables your agents to connect with Various Tools and work with them
3 Replies
fascinating-indigoOP•6mo ago
and this is the error that i get
helpful-purple•6mo ago
Please change the docstring to
This is the current format we use to read the param and return type description. We will make it more flexible in the future. For documentation, check: https://docs.composio.dev/introduction/foundations/components/local_tools
Composio Docs
Creating a Local Tool - Composio
Composio enables your agents to connect with Various Tools and work with them
fascinating-indigoOP•6mo ago
I'll give it a shot. Thanks a lot!