detach_data_assets
Remove data assets from a Code Ocean capsule by their IDs when no cloud workstations are running. Use to manage capsule resources and prepare for modifications.
Instructions
Detach one or more data assets from a capsule by their IDs. Use when the capsule has no running cloud workstations. For active cloud workstation sessions use detach_computation_data_assets instead.
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": {
"capsule_id": "<capsule_id>",
"data_assets": "<data_assets>"
},
"name": "detach_data_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capsule_id | Yes | ||
| data_assets | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |