Documentation ¶ Overview ¶ Package random provides random integer generation with agent-chosen bounds. Index ¶ Constants func CreateToolSet() (tools.ToolSet, error) type Args type ToolSet func New() *ToolSet func (t *ToolSet) Tools(context.Context) ([]tools.Tool, error) Constants ¶ View Source const ToolNameRandomInt = "random_int" Variables ¶ This section is empty. Functions ¶ func CreateToolSet ¶ func CreateToolSet() (tools.ToolSet, error) CreateToolSet is used by the tools registry. Types ¶ type Args ¶ type Args struct { Min *int64 `json:"min" jsonschema:"Minimum integer value (inclusive)"` Max *int64 `json:"max" jsonschema:"Maximum integer value (inclusive); must be greater than or equal to min"` } type ToolSet ¶ type ToolSet struct{} func New ¶ func New() *ToolSet func (*ToolSet) Tools ¶ func (t *ToolSet) Tools(context.Context) ([]tools.Tool, error) Source Files ¶ View all Source files random.go Click to show internal directories. Click to hide internal directories.