create_asset

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: Apache-2.0 Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTool

func NewTool(collibraClient *http.Client) *chip.Tool[Input, Output]

NewTool creates a new create_asset tool instance.

Types

type Input

type Input struct {
	Name        string            `json:"name" jsonschema:"The name of the asset to create"`
	AssetTypeID string            `json:"assetTypeId" jsonschema:"The UUID of the asset type (from prepare_create_asset resolved.assetTypeId)"`
	DomainID    string            `json:"domainId" jsonschema:"The UUID of the domain to create the asset in (from prepare_create_asset resolved.domainId)"`
	DisplayName string            `json:"displayName,omitempty" jsonschema:"Optional. The display name of the asset"`
	Attributes  map[string]string `json:"attributes,omitempty" jsonschema:"Optional. Map of attribute type UUID to attribute value"`
}

Input defines the parameters for the create_asset tool.

type Output

type Output struct {
	AssetID string `json:"assetId" jsonschema:"The UUID of the newly created asset"`
}

Output defines the result of the create_asset tool.

Jump to

Keyboard shortcuts

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