Delete document
glpi_delete_documentPermanently delete a document by ID with a required audit reason. Use it to remove outdated or incorrect files from GLPI.
Instructions
Permanently delete a document by ID.
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": {
"documentId": "<documentId>",
"reason": "<reason>"
},
"name": "glpi_delete_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why this item is being deleted (audit trail, required) | |
| documentId | Yes | Item ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |