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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"organization_id": "<organization_id>",
"flexible_asset_type_id": "<flexible_asset_type_id>",
"traits": "<traits>"
},
"name": "create_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 |