random

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Random

type Random struct{}

Random generates a random integer in a range. Useful for games, sampling, or when the user asks for randomness.

func New

func New() *Random

New returns a new Random tool.

func (*Random) Description

func (*Random) Description() string

func (*Random) Execute

func (*Random) Execute(ctx context.Context, args map[string]any) (any, error)

func (*Random) Name

func (*Random) Name() string

func (*Random) Parameters

func (*Random) Parameters() interfaces.JSONSchema

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL