Discover 16+ Tool Use & Function Calling prompts for AI assistants. Copy and use instantly with ChatGPT, Claude, Gemini, and more.
REVIEWER: CALL REVIEWER tool="image_analyzer" WITH parameters={"task_type": "object_detection", "model": "yolov3"} OUTPUT format="pandas_table"
REVIEWER: CALL REVIEWER tool="content_checker" WITH parameters={"task_type": "text_analysis", "threshold": 0.8} OUTPUT format="csv"
ORCHESTRATOR: CALL WORKER tool="scheduling_service" WITH parameters={"task_type": "construction", "priority": "high"} OUTPUT format="json"
Python Generate a function to check if a given string is a palindrome using only built-in data structures and algorithms, output in Python code format.
C++ Create a C++ program to calculate the factorial of a given integer using recursion, with output in human-readable format.
Use Go to create a command-line tool that takes two integer arguments and returns their product, outputting the result in a JSON format with a single key-value pair.
Write a Python function to calculate the average price of a list of items using pandas, returning the result as a float value between 0 and 1.
Write a Bash script to parse a CSV file containing user activity logs and generate a report displaying the top 5 most active users by the number of interactions, outputting the results in a table format.
Java Generate a Java method that takes two integers as input and returns their greatest common divisor using the Euclidean algorithm, with output in Markdown table format.
Write an example Python code snippet that uses the `math` library and the `random` module to generate 10 random numbers between -100 and 100, with output format as "Random Number: X".
Consider the task to generate a Bash script that calculates the factorial of a given number, with constraints of not using loops or recursion for the calculation, but allowing the use of arithmetic operations.
In a world where robots have taken over most manual labor, a lone janitor proudly polishes a gleaming chrome floor with a worn leather duster.
A smooth-talking salesman confidently guides you through the features and benefits of a high-end power drill for serious DIY enthusiasts.
Create a JavaScript function that takes an array of integers as input and returns the sum of all elements in the array, using only arithmetic operations, with output format as "Sum: X", where X is the calculated sum.
Node.js Implement a Node.js module that takes an object as input and returns an associative array containing only the key-value pairs where the value is greater than 0, with output in JSON format.
JavaScript Write a JavaScript function that takes an array of numbers as input and returns the sum of all even numbers in the array, with error handling for non-numeric inputs, output in Markdown format.