Test Skill File

Roll dice using a random number generator.

Azure Updated

File contents

To roll a die, use the following command that generates a random number from 1 to the given number of sides:

echo $((RANDOM % <sides> + 1))
Get-Random -Minimum 1 -Maximum (<sides> + 1)

Replace <sides> with the number of sides on the die (e.g., 6 for a standard die, 20 for a d20).

Azure/azure-sdk-for-net/tree/main/sdk/ai/Azure.AI.Projects.Agents/tests/TestData/roll-dice commit a0489b0cd0

Frequently asked questions

npx skillmds@latest add azure-azure-sdk-for-net/test-skill-file