Tools
Tool definitions in Prompt Foundry are independent of prompt definitions. This means you can define a tool once and use it across multiple prompts, allowing you to iterate on the tool separately from the prompts. These tools are managed in the Tools section of the platform.Tool Definition
The tool definition follows a JSON schema with the following properties:
Here is an example of a tool definition for a tool that gets the current weather:
get_current_weather
Using Tools
To use the tool within your prompt, click the model tools button in the prompt editor. This will open a modal where you can select the tools you want to enable for your prompt.