Delete document link
delete-document-linkRemoves a link between two documents. Both documents stay as they are; only the recorded relationship between them goes.
Use this tool when:
A link was made in error, e.g. the wrong contract was marked as the one renewed, or the relationship type was wrong (remove it, then create the right one with create-document-link)
The user says two documents no longer belong together
Take link_uuid from the linked_documents section of get-document-info for document_uuid.
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": {
"document_uuid": "<document_uuid>",
"link_uuid": "<link_uuid>"
},
"name": "delete-document-link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link_uuid | Yes | The uuid of the link to remove, from the linked_documents section of get-document-info. Not the uuid of either document. | |
| document_uuid | Yes | UUID of either of the two linked documents. If you don't already have the document's UUID, use the list-documents tool to find it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | No | The document given as document_uuid, from whose side removed_link is presented | |
| removed_link | No | The link that was removed |