It would be great if we could define new functions on a thread level using the tool_resources property.
Currently it supports only code_interpreter and files_search.
I was actually surprised that this is not supported already. This can be useful to extend the capabilities of the assistant using functions specific to a user’s account, without having to create one assistant per user.
you can use the tools property to “override the tools the assistant can use” for each run. as far as i know, it is usually the place where you would also append specific user instruction in the “additional_instructions” property.
Thank you for the answer @supershaneski , yeah I later found out about the tools properly which is part of the run API, I was just hoping we could define these tools on a per-thread basis.
(and additional_tools would have been also useful to append new tools, instead of having to override the default ones.)