I am using a contact tool to help get contact from my address book. but the model ins't invoking my tool call method. Even tried with a simple tool the outcome is the same my simple tool is not being invoked.
I tried your instructions and prompt and the models said it couldn't assist with generating legal documents. I tried completely different instructions and prompt and did see that the tools were called. (My input was far from asking the models to generate a rental agreement, and I won't bother to elaborate.)
That being said, it's not that your tools have anything wrong; it is that the models reject your request in the first place. Splitting the task into smaller ones (for example, generating a section, rather than a whole document), providing a sample output, or engineering your prompts in other ways may help, but that will be up to you to experiment.
Should the models be able to full your current instructions and prompt? I don't have a definitive answer, and would suggest that you file a feedback report for the framework team to evaluate – If you do so, please share your report ID here for folks to track.
When you file feedback report, it’s super important to add the language model feedback attachment, which contains the session transcript that helps us reason the model’s output and analyze the error.
Best,
——
Ziqiao Chen
Worldwide Developer Relations.