Use tool calling

Debug tool calls directly in prompplayground

Tools are a key part of agentic workflows, but debugging tool use can be tricky:

  • Were there any unclear parts in the function description or parameter details?

  • Was the function used with the right parameter values?

  • If the correct function existed, did the LLM use it?

  • Did the LLM have the needed function to reply to the input?

The playground automatically pulls in tools from your span data, making it easy to iterate on tool call prompts, especially if you have traced your function calls.

The "Functions" button displays how many functions the LLM can access.
Click on "Functions" to add, modify or delete the function definitions in a slide-over.
Specify the function selection methodology for the LLM in a drop-down — for example, specify whether functions can be "auto" selected by the LLM or are "required".
View the function calling output in pretty format.
Switch to "Raw" JSON output format for more detailed debugging, which provides additional information, such as the tool call ID.

Last updated

Was this helpful?