library_operation
Perform set operations on libraries: union, intersection, difference, copy, or empty. Replaces or discards target library contents for intersection, difference, and empty actions.
Instructions
Perform set operations on libraries (union, intersection, difference, copy, empty). The empty, difference and intersection actions replace or discard the contents of the target library.
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": {
"library_id": "<library_id>",
"operation": "<operation>"
},
"name": "library_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for new library (for copy operation) | |
| operation | Yes | Operation to perform | |
| library_id | Yes | Target library identifier | |
| description | No | Description for new library (for copy operation) | |
| response_format | No | markdown | |
| source_library_ids | No | Source library IDs for union/intersection/difference |