Skip to contents

Creates a new tool in the specified category. Idempotent: if a tool with the given name already exists in the category, it is returned instead.

Usage

createTool(categoryId, toolName)

Arguments

categoryId

Character. The ID of the tool category.

toolName

Character. The name of the tool to create.

Value

A list with the tool details (id, name, categoryId), or NULL on failure.

References

ccs35