Prompt Manager
Tools
Learn how to define tools in your prompts.
Overview
Latitude’s prompt editor allows you to define tools in your prompts. Tools are function calls that are made available to the AI model during the conversation. This feature enables you to leverage AI capabilities beyond the capabilities of the model itself.
Defining Tools
You can define tools as an array of json schemas. Here’s an example of how you might define a tool to get the current weather for a specified location:
Once defined in your prompt, the model AI might answer with a tool call request. Check out how to handle tool call requests with Latitude’s SDK, here.