Apple Foundation Models: Tools
For developers of Omni Automation plug-ins, the new “Tools” feature enables the Apple Foundation Models framework to execute custom code snippets or “tools” that you create and add to your plug-in. Think of “tools” as JavaScript functions within your code that can be called as needed by the AFM.
For example, here’s a “tool” that the Apple Fundation Models framework (AFM) can call to get the text content currently on the general clipboard (also called the ”PasteBoard”):