add_extra_fields_to_item
Extend RSpace inventory items with custom metadata fields for experiments or projects, supporting text and number data types to organize research data.
Instructions
Adds custom metadata fields to inventory items
Usage: Extend items with experiment-specific or project-specific data Field format: [{"name": "Field Name", "type": "text|number", "content": "value"}] Types: 'text' for strings, 'number' for numeric values
Returns: Updated item with new custom fields
Input Schema
Name | Required | Description | Default |
---|---|---|---|
field_data | Yes | ||
item_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"field_data": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Field Data",
"type": "array"
},
"item_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"title": "Item Id"
}
},
"required": [
"item_id",
"field_data"
],
"type": "object"
}