unlink_file_from_substance
Removes the association between a file and a substance using their IDs so you can detach uploaded files from the correct chemical record.
Instructions
Remove the link between a file and a substance.
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": {
"file_id": "<file_id>",
"substance_id": "<substance_id>"
},
"name": "unlink_file_from_substance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| substance_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |