create_flexible_asset
Creates a flexible asset in IT Glue for a specified organization and asset type, using field values that match the type's schema. Returns the created asset as JSON.
Instructions
Create a new flexible asset.
Args: organization_id: Organization ID (required) flexible_asset_type_id: Flexible asset type ID (required) traits: Dictionary of field values matching the type's schema. Keys should match field names, values should match field types.
Returns: JSON string with the created flexible asset
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| traits | Yes | ||
| organization_id | Yes | ||
| flexible_asset_type_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |