How to pass inputs from agents/Tasks to a custom tool in crew ai #1096
Replies: 5 comments 1 reply
-
@pradeepdev-1995 First, there is an arg in Agents to output the final response in a file. And for passing the file name, you need to prompt the name of the file into agent via goal. |
Beta Was this translation helpful? Give feedback.
-
@shnoman97 |
Beta Was this translation helpful? Give feedback.
-
There is no |
Beta Was this translation helpful? Give feedback.
-
@shnoman97 I dont want to hardcode the details in the Because in every kick of the crew i want to pass different arguments to the custom tool. |
Beta Was this translation helpful? Give feedback.
-
You should learn about |
Beta Was this translation helpful? Give feedback.
-
How to pass inputs from agents to a custom tool in crew ai . Here is my code snippet
What I observe is, the parameters in
function_args={'filename': 'deep_learning.md', 'content': 'Detailed content generated by LLM about deep_learning.'}
are not reaching in tools and it randomly taking the topics from LLM.Beta Was this translation helpful? Give feedback.
All reactions