component_operations
Checkout components to assets, checkin from assets, and list assets with a component. Manage component quantities and track assignments.
Instructions
Perform checkout/checkin operations on components.
Components can be checked out to assets (not users). Each checkout decrements the available quantity.
Operations:
checkout: Checkout component(s) to an asset (requires checkout_data with assigned_to asset ID)
checkin: Checkin component(s) from an asset (requires checkout_id)
list_assets: List all assets that have this component checked out
Returns: dict: Result of the operation including success status and data
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": {
"action": "<action>",
"component_id": "<component_id>"
},
"name": "component_operations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The operation to perform on the component | |
| checkout_id | No | Component asset ID from checkout record (required for checkin) | |
| component_id | Yes | Component ID | |
| checkout_data | No | Checkout data (required for checkout action) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||